Class TdApi.AuthenticationCodeTypeSms

Enclosing class:
TdApi

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

    • 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

    • AuthenticationCodeTypeSms

      public AuthenticationCodeTypeSms()
      A digit-only authentication code is delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code.
    • AuthenticationCodeTypeSms

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