Class TdApi.AuthenticationCodeTypeTelegramMessage

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AuthenticationCodeType
org.drinkless.tdlib.TdApi.AuthenticationCodeTypeTelegramMessage
Enclosing class:
TdApi

public static class TdApi.AuthenticationCodeTypeTelegramMessage extends TdApi.AuthenticationCodeType
A digit-only authentication code is delivered via a private Telegram message, which can be viewed from another active session.
  • 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

    • AuthenticationCodeTypeTelegramMessage

      public AuthenticationCodeTypeTelegramMessage()
      A digit-only authentication code is delivered via a private Telegram message, which can be viewed from another active session.
    • AuthenticationCodeTypeTelegramMessage

      public AuthenticationCodeTypeTelegramMessage(int length)
      A digit-only authentication code is delivered via a private Telegram message, which can be viewed from another active session.
      Parameters:
      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