Interface GetBotResponse.Builder

  • Method Details

    • botId

      The unique identifier of the bot.

      Parameters:
      botId - The unique identifier of the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      GetBotResponse.Builder displayName(String displayName)

      The display name of the bot that is visible to users.

      Parameters:
      displayName - The display name of the bot that is visible to users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • username

      GetBotResponse.Builder username(String username)

      The username of the bot.

      Parameters:
      username - The username of the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uname

      The unique username hash identifier for the bot.

      Parameters:
      uname - The unique username hash identifier for the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pubkey

      The public key of the bot used for encryption.

      Parameters:
      pubkey - The public key of the bot used for encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the bot (1 for pending, 2 for active).

      Parameters:
      status - The current status of the bot (1 for pending, 2 for active).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupId

      GetBotResponse.Builder groupId(String groupId)

      The ID of the security group to which the bot belongs.

      Parameters:
      groupId - The ID of the security group to which the bot belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hasChallenge

      GetBotResponse.Builder hasChallenge(Boolean hasChallenge)

      Indicates whether the bot has a password set.

      Parameters:
      hasChallenge - Indicates whether the bot has a password set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • suspended

      GetBotResponse.Builder suspended(Boolean suspended)

      Indicates whether the bot is currently suspended.

      Parameters:
      suspended - Indicates whether the bot is currently suspended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastLogin

      GetBotResponse.Builder lastLogin(String lastLogin)

      The timestamp of the bot's last login.

      Parameters:
      lastLogin - The timestamp of the bot's last login.
      Returns:
      Returns a reference to this object so that method calls can be chained together.