Class TdApi.SetStickerPositionInSet
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.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
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
New position of the sticker in the set, 0-based.Sticker. -
Constructor Summary
ConstructorDescriptionDefault 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-