- Enclosing class:
- TdApi
Changes the position of a sticker in
the set to which it belongs; for bots
only. The sticker set must have been
created by the bot.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
New position of the sticker in the set, zero-based.Sticker. -
Constructor Summary
ConstructorDescriptionChanges the position of a sticker in the set to which it belongs; for bots only.SetStickerPositionInSet
(TdApi.InputFile sticker, int position) Changes the position of a sticker in the set to which it belongs; for bots only.SetStickerPositionInSet
(DataInput input) Changes the position of a sticker in the set to which it belongs; for bots only. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
sticker
Sticker. -
position
public int positionNew position of the sticker in the set, zero-based. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetStickerPositionInSet
public SetStickerPositionInSet()Changes the position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot.Returns
Ok
-
SetStickerPositionInSet
Changes the position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot.Returns
Ok
- Parameters:
sticker
- InputFile Sticker.position
- int New position of the sticker in the set, zero-based.
-
SetStickerPositionInSet
Changes the position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot.Returns
Ok
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-