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

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

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    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

    Constructors
    Constructor
    Description
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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