Class TdApi.GetPassportAuthorizationForm

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetPassportAuthorizationForm
Enclosing class:
TdApi

public static class TdApi.GetPassportAuthorizationForm
extends TdApi.Function
Returns a Telegram Passport authorization form for sharing data with a service.

Returns PassportAuthorizationForm

  • Field Details

    • botUserId

      public int botUserId
      User identifier of the service's bot.
    • scope

      public String scope
      Telegram Passport element types requested by the service.
    • publicKey

      public String publicKey
      Service's public key.
    • nonce

      public String nonce
      Unique request identifier provided by the service.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • GetPassportAuthorizationForm

      public GetPassportAuthorizationForm()
      Returns a Telegram Passport authorization form for sharing data with a service.

      Returns PassportAuthorizationForm

    • GetPassportAuthorizationForm

      public GetPassportAuthorizationForm​(int botUserId, String scope, String publicKey, String nonce)
      Returns a Telegram Passport authorization form for sharing data with a service.

      Returns PassportAuthorizationForm

      Parameters:
      botUserId - int User identifier of the service's bot.
      scope - String Telegram Passport element types requested by the service.
      publicKey - String Service's public key.
      nonce - String Unique request identifier provided by the service.
    • GetPassportAuthorizationForm

      public GetPassportAuthorizationForm​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details