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
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.InputMessageSticker
(DataInput input) A sticker message. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods 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 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.
-
InputMessageSticker
A sticker message.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-