public static class TdApi.SetChatMessageTtl 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.
|
int |
ttl
New TTL value, in seconds; must be one of 0, 86400, 7 * 86400, or 31 * 86400 unless the chat is secret.
|
Constructor and Description |
---|
SetChatMessageTtl()
Default constructor for a function, which changes the message TTL in a chat.
|
SetChatMessageTtl(long chatId,
int ttl)
Creates a function, which changes the message TTL in a chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public int ttl
public static final int CONSTRUCTOR
public SetChatMessageTtl()
Returns Ok
public SetChatMessageTtl(long chatId, int ttl)
Returns Ok
chatId
- Chat identifier.ttl
- New TTL value, in seconds; must be one of 0, 86400, 7 * 86400, or 31 * 86400 unless the chat is secret.public int getConstructor()
getConstructor
in class TdApi.Function