public static class TdApi.ClearAllDraftMessages extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
excludeSecretChats
Pass true to keep local message drafts in secret chats.
|
| Constructor and Description |
|---|
ClearAllDraftMessages()
Default constructor for a function, which clears message drafts in all chats.
|
ClearAllDraftMessages(boolean excludeSecretChats)
Creates a function, which clears message drafts in all chats.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean excludeSecretChats
public static final int CONSTRUCTOR
public ClearAllDraftMessages()
Returns Ok
public ClearAllDraftMessages(boolean excludeSecretChats)
Returns Ok
excludeSecretChats - Pass true to keep local message drafts in secret chats.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object