Class TdApi.SetApplicationVerificationToken

Enclosing class:
TdApi

public static class TdApi.SetApplicationVerificationToken extends TdApi.Function<TdApi.Ok>
Application verification has been completed. Can be called before authorization.

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    Play Integrity API token for the Android application, or secret from push notification for the iOS application; pass an empty string to abort verification and receive error VERIFICATIONFAILED for the request.
    long
    Unique identifier for the verification process as received from updateApplicationVerificationRequired.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which application verification has been completed.
    SetApplicationVerificationToken(long verificationId, String token)
    Creates a function, which application verification has been completed.
  • 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

    • verificationId

      public long verificationId
      Unique identifier for the verification process as received from updateApplicationVerificationRequired.
    • token

      public String token
      Play Integrity API token for the Android application, or secret from push notification for the iOS application; pass an empty string to abort verification and receive error VERIFICATIONFAILED for the request.
    • CONSTRUCTOR

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

    • SetApplicationVerificationToken

      public SetApplicationVerificationToken()
      Default constructor for a function, which application verification has been completed. Can be called before authorization.

      Returns Ok

    • SetApplicationVerificationToken

      public SetApplicationVerificationToken(long verificationId, String token)
      Creates a function, which application verification has been completed. Can be called before authorization.

      Returns Ok

      Parameters:
      verificationId - Unique identifier for the verification process as received from updateApplicationVerificationRequired.
      token - Play Integrity API token for the Android application, or secret from push notification for the iOS application; pass an empty string to abort verification and receive error VERIFICATIONFAILED for the request.
  • 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