- 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, 0-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, 0-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. ReturnsOk
-
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. ReturnsOk
- Parameters:
sticker
- InputFile Sticker.position
- int New position of the sticker in the set, 0-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. ReturnsOk
- 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()
-