Package org.drinkless.tdlib
Class TdApi.SetStickerPositionInSet
- Enclosing class:
- TdApi
Changes the position of a sticker in the set to which it belongs. The sticker set must be owned by the current user.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intNew position of the sticker in the set, 0-based.Sticker. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes the position of a sticker in the set to which it belongs.SetStickerPositionInSet(TdApi.InputFile sticker, int position) Creates a function, which changes the position of a sticker in the set to which it belongs. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
sticker
Sticker. -
position
public int positionNew position of the sticker in the set, 0-based. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetStickerPositionInSet
public SetStickerPositionInSet()Default constructor for a function, which changes the position of a sticker in the set to which it belongs. The sticker set must be owned by the current user.Returns
Ok -
SetStickerPositionInSet
Creates a function, which changes the position of a sticker in the set to which it belongs. The sticker set must be owned by the current user.Returns
Ok- Parameters:
sticker- Sticker.position- New position of the sticker in the set, 0-based.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-