Module tdlight.api

Class TdApi.AuthenticationCodeTypeSms

Enclosing class:
TdApi

public static final class TdApi.AuthenticationCodeTypeSms extends TdApi.AuthenticationCodeType
An authentication code is delivered via an SMS message to the specified phone number; applications may not receive this type of code.
  • Field Details

    • length

      public int length
      Length of the code.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • AuthenticationCodeTypeSms

      public AuthenticationCodeTypeSms()
      An authentication code is delivered via an SMS message to the specified phone number; applications may not receive this type of code.
    • AuthenticationCodeTypeSms

      public AuthenticationCodeTypeSms(int length)
      An authentication code is delivered via an SMS message to the specified phone number; applications may not receive this type of code.
      Parameters:
      length - int Length of the code.
    • AuthenticationCodeTypeSms

      public AuthenticationCodeTypeSms(DataInput input) throws IOException
      An authentication code is delivered via an SMS message to the specified phone number; applications may not receive this type of code.
      Throws:
      IOException
  • Method Details