public static class TdApi.SetChatMessageAutoDeleteTime 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.
|
int |
messageAutoDeleteTime
New time value, in seconds; unless the chat is secret, it must be from 0 up to 365 * 86400 and be divisible by 86400.
|
| Constructor and Description |
|---|
SetChatMessageAutoDeleteTime()
Default constructor for a function, which changes the message auto-delete or self-destruct (for secret chats) time in a chat.
|
SetChatMessageAutoDeleteTime(long chatId,
int messageAutoDeleteTime)
Creates a function, which changes the message auto-delete or self-destruct (for secret chats) time in a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public int messageAutoDeleteTime
public static final int CONSTRUCTOR
public SetChatMessageAutoDeleteTime()
Returns Ok
public SetChatMessageAutoDeleteTime(long chatId,
int messageAutoDeleteTime)
Returns Ok
chatId - Chat identifier.messageAutoDeleteTime - New time value, in seconds; unless the chat is secret, it must be from 0 up to 365 * 86400 and be divisible by 86400. If 0, then messages aren't deleted automatically.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object