Package org.drinkless.tdlib
Class TdApi.ToggleBusinessConnectedBotChatIsPaused
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.ToggleBusinessConnectedBotChatIsPaused
- Enclosing class:
- TdApi
Pauses or resumes the connected business bot in a specific chat.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.booleanPass true to pause the connected bot in the chat; pass false to resume the bot. -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-