Package org.drinkless.tdlib
Class TdApi.InputMessageSticker
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InputMessageContent
-
- org.drinkless.tdlib.TdApi.InputMessageSticker
-
- Enclosing class:
- TdApi
public static class TdApi.InputMessageSticker extends TdApi.InputMessageContent
A sticker message.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringemojiEmoji used to choose the sticker.intheightSticker height.TdApi.InputFilestickerSticker to be sent.TdApi.InputThumbnailthumbnailSticker thumbnail; pass null to skip thumbnail uploading.intwidthSticker width.
-
Constructor Summary
Constructors Constructor Description InputMessageSticker()A sticker message.InputMessageSticker(TdApi.InputFile sticker, TdApi.InputThumbnail thumbnail, int width, int height, String emoji)A sticker message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
sticker
public TdApi.InputFile sticker
Sticker to be sent.
-
thumbnail
public TdApi.InputThumbnail thumbnail
Sticker thumbnail; pass null to skip thumbnail uploading.
-
width
public int width
Sticker width.
-
height
public int height
Sticker height.
-
emoji
public String emoji
Emoji used to choose the sticker.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-