Class TdApi.RegisterUser

  • Enclosing class:
    TdApi

    public static class TdApi.RegisterUser
    extends TdApi.Function
    Finishes user registration. Works only when the current authorization state is authorizationStateWaitRegistration.

    Returns Ok

    • Field Detail

      • firstName

        public String firstName
        The first name of the user; 1-64 characters.
      • lastName

        public String lastName
        The last name of the user; 0-64 characters.
      • CONSTRUCTOR

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

      • RegisterUser

        public RegisterUser()
        Default constructor for a function, which finishes user registration. Works only when the current authorization state is authorizationStateWaitRegistration.

        Returns Ok

      • RegisterUser

        public RegisterUser​(String firstName,
                            String lastName)
        Creates a function, which finishes user registration. Works only when the current authorization state is authorizationStateWaitRegistration.

        Returns Ok

        Parameters:
        firstName - The first name of the user; 1-64 characters.
        lastName - The last name of the user; 0-64 characters.