public static class TdApi.DeleteChatHistory 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.
|
boolean |
removeFromChatList
Pass true if the chat needs to be removed from the chat list.
|
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() |
toString
public 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 if the chat needs to be removed from the chat list.revoke
- Pass true to delete chat history for all users.public int getConstructor()
getConstructor
in class TdApi.Function