public static class TdApi.DraftMessage extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
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 and Description |
---|
DraftMessage()
Contains information about a message draft.
|
DraftMessage(long replyToMessageId,
int date,
TdApi.InputMessageContent inputMessageText)
Contains information about a message draft.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long replyToMessageId
public int date
public TdApi.InputMessageContent inputMessageText
public static final int CONSTRUCTOR
public DraftMessage()
public DraftMessage(long replyToMessageId, int date, TdApi.InputMessageContent inputMessageText)
replyToMessageId
- Identifier of the message to reply to; 0 if none.date
- Point in time (Unix timestamp) when the draft was created.inputMessageText
- Content of the message draft; must be of the type inputMessageText.public int getConstructor()
getConstructor
in class TdApi.Object