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

public static class TdApi.ToggleBusinessConnectedBotChatIsPaused extends TdApi.Function<TdApi.Ok>
Pauses or resumes the connected business bot in a specific chat.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • isPaused

      public boolean isPaused
      Pass true to pause the connected bot in the chat; pass false to resume the bot.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR