public static class TdApi.SetChatDraftMessage extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.DraftMessage |
draftMessage
New draft message; pass null to remove the draft.
|
long |
messageThreadId
If not 0, the message thread identifier in which the draft was changed.
|
| Constructor and Description |
|---|
SetChatDraftMessage()
Default constructor for a function, which changes the draft message in a chat.
|
SetChatDraftMessage(long chatId,
long messageThreadId,
TdApi.DraftMessage draftMessage)
Creates a function, which changes the draft message in a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageThreadId
public TdApi.DraftMessage draftMessage
public static final int CONSTRUCTOR
public SetChatDraftMessage()
Returns Ok
public SetChatDraftMessage(long chatId,
long messageThreadId,
TdApi.DraftMessage draftMessage)
Returns Ok
chatId - Chat identifier.messageThreadId - If not 0, the message thread identifier in which the draft was changed.draftMessage - New draft message; pass null to remove the draft. All files in draft message content must be of the type inputFileLocal. Media thumbnails and captions are ignored.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object