java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.DraftMessage
- Enclosing class:
- TdApi
Contains information about a message draft.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
Point in time (Unix timestamp) when the draft was created.Content of the message draft; must be of the type inputMessageText.long
Identifier of the replied message; 0 if none. -
Constructor Summary
ConstructorDescriptionContains information about a message draft.DraftMessage
(long replyToMessageId, int date, TdApi.InputMessageContent inputMessageText) Contains information about a message draft.DraftMessage
(DataInput input) Contains information about a message draft. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
replyToMessageId
public long replyToMessageIdIdentifier of the replied message; 0 if none. -
date
public int datePoint in time (Unix timestamp) when the draft was created. -
inputMessageText
Content of the message draft; must be of the type inputMessageText. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
DraftMessage
public DraftMessage()Contains information about a message draft. -
DraftMessage
Contains information about a message draft.- Parameters:
replyToMessageId
- long Identifier of the replied message; 0 if none.date
- int Point in time (Unix timestamp) when the draft was created.inputMessageText
- InputMessageContent Content of the message draft; must be of the type inputMessageText.
-
DraftMessage
Contains information about a message draft.- 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()
-