public static class TdApi.DeleteChatHistory 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.
|
boolean |
removeFromChatList
Pass true to remove the chat from all chat lists.
|
boolean |
revoke
Pass true to delete chat history for all users.
|
| Constructor and Description |
|---|
DeleteChatHistory()
Default constructor for a function, which deletes all messages in the chat.
|
DeleteChatHistory(long chatId,
boolean removeFromChatList,
boolean revoke)
Creates a function, which deletes all messages in the chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public boolean removeFromChatList
public boolean revoke
public static final int CONSTRUCTOR
public DeleteChatHistory()
Returns Ok
public DeleteChatHistory(long chatId,
boolean removeFromChatList,
boolean revoke)
Returns Ok
chatId - Chat identifier.removeFromChatList - Pass true to remove the chat from all chat lists.revoke - Pass true to delete chat history for all users.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object