Class TdApi.CheckPhoneNumberCode

Enclosing class:
TdApi

public static class TdApi.CheckPhoneNumberCode extends TdApi.Function<TdApi.Ok>
Check the authentication code and completes the request for which the code was sent if appropriate.

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Authentication code to check.
    static final int
    Identifier uniquely determining type of the object.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which check the authentication code and completes the request for which the code was sent if appropriate.
    Creates a function, which check the authentication code and completes the request for which the code was sent if appropriate.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • code

      public String code
      Authentication code to check.
    • CONSTRUCTOR

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

    • CheckPhoneNumberCode

      public CheckPhoneNumberCode()
      Default constructor for a function, which check the authentication code and completes the request for which the code was sent if appropriate.

      Returns Ok

    • CheckPhoneNumberCode

      public CheckPhoneNumberCode(String code)
      Creates a function, which check the authentication code and completes the request for which the code was sent if appropriate.

      Returns Ok

      Parameters:
      code - Authentication code to check.
  • 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