Class TdApi.CheckPhoneNumberVerificationCode

  • Enclosing class:
    TdApi

    public static class TdApi.CheckPhoneNumberVerificationCode
    extends TdApi.Function
    Checks the phone number verification code for Telegram Passport.

    Returns Ok

    • Field Detail

      • code

        public String code
        Verification code to check.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CheckPhoneNumberVerificationCode

        public CheckPhoneNumberVerificationCode()
        Default constructor for a function, which checks the phone number verification code for Telegram Passport.

        Returns Ok

      • CheckPhoneNumberVerificationCode

        public CheckPhoneNumberVerificationCode​(String code)
        Creates a function, which checks the phone number verification code for Telegram Passport.

        Returns Ok

        Parameters:
        code - Verification code to check.