public static class TdApi.ToggleBusinessConnectedBotChatIsPaused 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 |
isPaused
Pass true to pause the connected bot in the chat; pass false to resume the bot.
|
| Constructor and Description |
|---|
ToggleBusinessConnectedBotChatIsPaused()
Default constructor for a function, which pauses or resumes the connected business bot in a specific chat.
|
ToggleBusinessConnectedBotChatIsPaused(long chatId,
boolean isPaused)
Creates a function, which pauses or resumes the connected business bot in a specific chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public boolean isPaused
public static final int CONSTRUCTOR
public ToggleBusinessConnectedBotChatIsPaused()
Returns Ok
public ToggleBusinessConnectedBotChatIsPaused(long chatId,
boolean isPaused)
Returns Ok
chatId - Chat identifier.isPaused - Pass true to pause the connected bot in the chat; pass false to resume the bot.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object