Class TdApi.ToggleBusinessConnectedBotChatIsPaused
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.ToggleBusinessConnectedBotChatIsPaused
- Enclosing class:
- TdApi
Pauses or resumes the connected business bot in a specific chat.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
Identifier uniquely determining type of the object.boolean
Pass true to pause the connected bot in the chat; pass false to resume the bot. -
Constructor Summary
ConstructorDescriptionDefault 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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
isPaused
public boolean isPausedPass true to pause the connected bot in the chat; pass false to resume the bot. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ToggleBusinessConnectedBotChatIsPaused
public ToggleBusinessConnectedBotChatIsPaused()Default constructor for a function, which pauses or resumes the connected business bot in a specific chat.Returns
Ok
-
ToggleBusinessConnectedBotChatIsPaused
public ToggleBusinessConnectedBotChatIsPaused(long chatId, boolean isPaused) Creates a function, which pauses or resumes the connected business bot in a specific chat.Returns
Ok
- Parameters:
chatId
- Chat identifier.isPaused
- Pass true to pause the connected bot in the chat; pass false to resume the bot.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-