Package org.drinkless.tdlib
Class TdApi.SetStickerPositionInSet
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.SetStickerPositionInSet
-
- Enclosing class:
- TdApi
public static class TdApi.SetStickerPositionInSet extends TdApi.Function
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
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.intpositionNew position of the sticker in the set, zero-based.TdApi.InputFilestickerSticker.
-
Constructor Summary
Constructors Constructor Description SetStickerPositionInSet()Default constructor for a function, which changes the position of a sticker in the set to which it belongs; for bots only.SetStickerPositionInSet(TdApi.InputFile sticker, int position)Creates a function, which changes the position of a sticker in the set to which it belongs; for bots only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
sticker
public TdApi.InputFile sticker
Sticker.
-
position
public int position
New position of the sticker in the set, zero-based.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SetStickerPositionInSet
public SetStickerPositionInSet()
Default constructor for a function, which 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
public SetStickerPositionInSet(TdApi.InputFile sticker, int position)
Creates a function, which 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- Sticker.position- New position of the sticker in the set, zero-based.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-