Module tdlight.api

Class TdApi.CheckChangePhoneNumberCode

Enclosing class:
TdApi

public static final class TdApi.CheckChangePhoneNumberCode extends TdApi.Function<TdApi.Ok>
Checks the authentication code sent to confirm a new phone number of the user.

Returns Ok

  • Field Details

    • code

      public String code
      Authentication code to check.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • CheckChangePhoneNumberCode

      public CheckChangePhoneNumberCode()
      Checks the authentication code sent to confirm a new phone number of the user.

      Returns Ok

    • CheckChangePhoneNumberCode

      public CheckChangePhoneNumberCode(String code)
      Checks the authentication code sent to confirm a new phone number of the user.

      Returns Ok

      Parameters:
      code - String Authentication code to check.
    • CheckChangePhoneNumberCode

      public CheckChangePhoneNumberCode(DataInput input) throws IOException
      Checks the authentication code sent to confirm a new phone number of the user.

      Returns Ok

      Throws:
      IOException
  • Method Details