Package it.tdlight.jni
Class TdApi.InputMessageSticker
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputMessageContent
it.tdlight.jni.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 int
CONSTRUCTOR
String
emoji
Emoji used to choose the sticker.int
height
Sticker height.TdApi.InputFile
sticker
Sticker to be sent.TdApi.InputThumbnail
thumbnail
Sticker thumbnail; pass null to skip thumbnail uploading.int
width
Sticker 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.InputMessageSticker(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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
- 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()
-