Class TdApi.GetGuardBotWebAppUrl

Enclosing class:
TdApi

public static class TdApi.GetGuardBotWebAppUrl extends TdApi.Function<TdApi.WebAppUrl>
Returns an HTTPS URL of a Web App of a guard bot to open after receiving chatJoinResultGuardBotApprovalRequired.

Returns WebAppUrl

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    Parameters to use to open the Web App.
    long
    Unique identifier of the join request as received in chatJoinResultGuardBotApprovalRequired.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns an HTTPS URL of a Web App of a guard bot to open after receiving chatJoinResultGuardBotApprovalRequired.
    Creates a function, which returns an HTTPS URL of a Web App of a guard bot to open after receiving chatJoinResultGuardBotApprovalRequired.
  • Method Summary

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

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • queryId

      public long queryId
      Unique identifier of the join request as received in chatJoinResultGuardBotApprovalRequired.
    • parameters

      public TdApi.WebAppOpenParameters parameters
      Parameters to use to open the Web App.
    • CONSTRUCTOR

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

    • GetGuardBotWebAppUrl

      public GetGuardBotWebAppUrl()
      Default constructor for a function, which returns an HTTPS URL of a Web App of a guard bot to open after receiving chatJoinResultGuardBotApprovalRequired.

      Returns WebAppUrl

    • GetGuardBotWebAppUrl

      public GetGuardBotWebAppUrl(long queryId, TdApi.WebAppOpenParameters parameters)
      Creates a function, which returns an HTTPS URL of a Web App of a guard bot to open after receiving chatJoinResultGuardBotApprovalRequired.

      Returns WebAppUrl

      Parameters:
      queryId - Unique identifier of the join request as received in chatJoinResultGuardBotApprovalRequired.
      parameters - Parameters to use to open the Web App.
  • 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