Class TdApi.InputMessageSticker
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.InputMessageContent
dev.voroby.springframework.telegram.client.TdApi.InputMessageSticker
- Enclosing class:
- TdApi
A sticker message.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Emoji used to choose the sticker.int
Sticker height.Sticker to be sent.Sticker thumbnail; pass null to skip thumbnail uploading.int
Sticker width. -
Constructor Summary
ConstructorDescriptionA sticker message.InputMessageSticker
(TdApi.InputFile sticker, TdApi.InputThumbnail thumbnail, int width, int height, String emoji) A sticker message. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
sticker
Sticker to be sent. -
thumbnail
Sticker thumbnail; pass null to skip thumbnail uploading. -
width
public int widthSticker width. -
height
public int heightSticker height. -
emoji
Emoji used to choose the sticker. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputMessageSticker
public InputMessageSticker()A sticker message. -
InputMessageSticker
public InputMessageSticker(TdApi.InputFile sticker, TdApi.InputThumbnail thumbnail, int width, int height, String emoji) A sticker message.- Parameters:
sticker
- Sticker to be sent.thumbnail
- Sticker thumbnail; pass null to skip thumbnail uploading.width
- Sticker width.height
- Sticker height.emoji
- Emoji used to choose the sticker.
-
-
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
-