Module tdlight.api

Class TdApi.AuthenticationCodeTypeFragment

Enclosing class:
TdApi

public static final class TdApi.AuthenticationCodeTypeFragment extends TdApi.AuthenticationCodeType
An 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
      See Also:
  • Constructor Details

    • AuthenticationCodeTypeFragment

      public AuthenticationCodeTypeFragment()
      An 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)
      An 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 - String URL to open to receive the code.
      length - int Length of the code.
    • AuthenticationCodeTypeFragment

      public AuthenticationCodeTypeFragment(DataInput input) throws IOException
      An authentication code is delivered to https://fragment.com. The user must be logged in there via a wallet owning the phone number's NFT.
      Throws:
      IOException
  • Method Details