Class TdApi.ChatJoinResultGuardBotApprovalRequired

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatJoinResult
org.drinkless.tdlib.TdApi.ChatJoinResultGuardBotApprovalRequired
Enclosing class:
TdApi

public static class TdApi.ChatJoinResultGuardBotApprovalRequired extends TdApi.ChatJoinResult
An approval from a guard bot through a Web App is required to join the chat.
  • Field Details

    • botUserId

      public long botUserId
      Identifier of the guard bot.
    • queryId

      public long queryId
      Unique identifier of the join request, which will be used in getGuardBotWebAppUrl and updateChatJoinResult.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • ChatJoinResultGuardBotApprovalRequired

      public ChatJoinResultGuardBotApprovalRequired()
      An approval from a guard bot through a Web App is required to join the chat.
    • ChatJoinResultGuardBotApprovalRequired

      public ChatJoinResultGuardBotApprovalRequired(long botUserId, long queryId)
      An approval from a guard bot through a Web App is required to join the chat.
      Parameters:
      botUserId - Identifier of the guard bot.
      queryId - Unique identifier of the join request, which will be used in getGuardBotWebAppUrl and updateChatJoinResult.
  • 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