Package it.tdlight.jni
Class TdApi.DraftMessage
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.DraftMessage
- Enclosing class:
- TdApi
public static class TdApi.DraftMessage extends TdApi.Object
Contains information about a message draft.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
date
Point in time (Unix timestamp) when the draft was created.TdApi.InputMessageContent
inputMessageText
Content of the message draft; must be of the type inputMessageText.long
replyToMessageId
Identifier of the message to reply to; 0 if none. -
Constructor Summary
Constructors Constructor Description DraftMessage()
Contains information about a message draft.DraftMessage(long replyToMessageId, int date, TdApi.InputMessageContent inputMessageText)
Contains information about a message draft.DraftMessage(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
-
replyToMessageId
public long replyToMessageIdIdentifier of the message to reply to; 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:
- Constant Field Values
-
-
Constructor Details
-
DraftMessage
public DraftMessage()Contains information about a message draft. -
DraftMessage
Contains information about a message draft.- Parameters:
replyToMessageId
- long Identifier of the message to reply to; 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
- 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()
-