Class TdApi.AuthenticationCodeTypeFragment

Enclosing class:
TdApi

public static class TdApi.AuthenticationCodeTypeFragment extends TdApi.AuthenticationCodeType
A digit-only authentication code is delivered to https://fragment.com. The user must be logged in there via a wallet owning the phone number's NFT.
  • Field Details

    • url

      public String url
      URL to open to receive the code.
    • length

      public int length
      Length of the code.
    • CONSTRUCTOR

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

    • AuthenticationCodeTypeFragment

      public AuthenticationCodeTypeFragment()
      A digit-only authentication code is delivered to https://fragment.com. The user must be logged in there via a wallet owning the phone number's NFT.
    • AuthenticationCodeTypeFragment

      public AuthenticationCodeTypeFragment(String url, int length)
      A digit-only authentication code is delivered to https://fragment.com. The user must be logged in there via a wallet owning the phone number's NFT.
      Parameters:
      url - URL to open to receive the code.
      length - Length of the code.
  • 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