java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputMessageContent
it.tdlight.jni.TdApi.InputMessageDice
- Enclosing class:
- TdApi
A dice message.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
True, if the chat message draft must be deleted.static final int
Emoji on which the dice throw animation is based. -
Constructor Summary
ConstructorDescriptionA dice message.InputMessageDice
(DataInput input) A dice message.InputMessageDice
(String emoji, boolean clearDraft) A dice message. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
emoji
Emoji on which the dice throw animation is based. -
clearDraft
public boolean clearDraftTrue, if the chat message draft must be deleted. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
InputMessageDice
public InputMessageDice()A dice message. -
InputMessageDice
A dice message.- Parameters:
emoji
- String Emoji on which the dice throw animation is based.clearDraft
- boolean True, if the chat message draft must be deleted.
-
InputMessageDice
A dice 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()
-