Class TdApi.SetStickerMaskPosition
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.SetStickerMaskPosition
- Enclosing class:
- TdApi
Changes the mask position of a mask sticker. The sticker must belong to a mask sticker set that is owned by the current user.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Position where the mask is placed; pass null to remove mask position.Sticker. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which changes the mask position of a mask sticker.SetStickerMaskPosition
(TdApi.InputFile sticker, TdApi.MaskPosition maskPosition) Creates a function, which changes the mask position of a mask sticker. -
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. -
maskPosition
Position where the mask is placed; pass null to remove mask position. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetStickerMaskPosition
public SetStickerMaskPosition()Default constructor for a function, which changes the mask position of a mask sticker. The sticker must belong to a mask sticker set that is owned by the current user.Returns
Ok
-
SetStickerMaskPosition
Creates a function, which changes the mask position of a mask sticker. The sticker must belong to a mask sticker set that is owned by the current user.Returns
Ok
- Parameters:
sticker
- Sticker.maskPosition
- Position where the mask is placed; pass null to remove mask position.
-
-
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
-