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.
|
long |
effectId
Identifier of the effect to apply to the message when it is sent; 0 if none.
|
TdApi.InputMessageContent |
inputMessageText
Content of the message draft; must be of the type inputMessageText, inputMessageVideoNote, or inputMessageVoiceNote.
|
TdApi.InputMessageReplyTo |
replyTo
Information about the message to be replied; must be of the type inputMessageReplyToMessage; may be null if none.
|
| Constructor and Description |
|---|
DraftMessage()
Contains information about a message draft.
|
DraftMessage(TdApi.InputMessageReplyTo replyTo,
int date,
TdApi.InputMessageContent inputMessageText,
long effectId)
Contains information about a message draft.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.InputMessageReplyTo replyTo
public int date
public TdApi.InputMessageContent inputMessageText
public long effectId
public static final int CONSTRUCTOR
public DraftMessage()
public DraftMessage(TdApi.InputMessageReplyTo replyTo, int date, TdApi.InputMessageContent inputMessageText, long effectId)
replyTo - Information about the message to be replied; must be of the type inputMessageReplyToMessage; may be null 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, inputMessageVideoNote, or inputMessageVoiceNote.effectId - Identifier of the effect to apply to the message when it is sent; 0 if none.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object