public static class TdApi.SetChatDraftMessage extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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, a 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() |
toString
public 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, a message thread identifier in which the draft was changed.draftMessage
- New draft message; pass null to remove the draft.public int getConstructor()
getConstructor
in class TdApi.Function