Package it.tdlight.jni
Class TdApi.InputMessageDice
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputMessageContent
it.tdlight.jni.TdApi.InputMessageDice
- Enclosing class:
- TdApi
public static class TdApi.InputMessageDice extends TdApi.InputMessageContent
A dice message.
-
Field Summary
Fields Modifier and Type Field Description boolean
clearDraft
True, if the chat message draft must be deleted.static int
CONSTRUCTOR
String
emoji
Emoji on which the dice throw animation is based. -
Constructor Summary
Constructors Constructor Description InputMessageDice()
A dice message.InputMessageDice(DataInput input)
InputMessageDice(String emoji, boolean clearDraft)
A dice message. -
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
-
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:
- Constant Field Values
-
-
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
- 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()
-