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
      Verification code received by SMS, phone call or flash call.
    • 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 Verification code received by SMS, phone call or flash call.
    • 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