public static class TdApi.SetChatSlowModeDelay 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 |
slowModeDelay
New slow mode delay for the chat, in seconds; must be one of 0, 10, 30, 60, 300, 900, 3600.
|
| Constructor and Description |
|---|
SetChatSlowModeDelay()
Default constructor for a function, which changes the slow mode delay of a chat.
|
SetChatSlowModeDelay(long chatId,
int slowModeDelay)
Creates a function, which changes the slow mode delay of a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public int slowModeDelay
public static final int CONSTRUCTOR
public SetChatSlowModeDelay()
Returns Ok
public SetChatSlowModeDelay(long chatId,
int slowModeDelay)
Returns Ok
chatId - Chat identifier.slowModeDelay - New slow mode delay for the chat, in seconds; must be one of 0, 10, 30, 60, 300, 900, 3600.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object