java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputMessageContent
it.tdlight.jni.TdApi.InputMessageSticker
- Enclosing class:
- TdApi
A sticker message.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
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.InputMessageSticker
(DataInput input) A sticker message. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, 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 CONSTRUCTOR- 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
- InputFile Sticker to be sent.thumbnail
- InputThumbnail Sticker thumbnail; pass null to skip thumbnail uploading.width
- int Sticker width.height
- int Sticker height.emoji
- String Emoji used to choose the sticker.
-
InputMessageSticker
A sticker message.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-