RegisterUser

public struct RegisterUser : Codable, Equatable, TDFunction

Finishes user registration. Works only when the current authorization state is authorizationStateWaitRegistration

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • The first name of the user; 1-64 characters

    Declaration

    Swift

    public let firstName: String
  • The last name of the user; 0-64 characters

    Declaration

    Swift

    public let lastName: String
  • Finishes user registration. Works only when the current authorization state is authorizationStateWaitRegistration

    Declaration

    Swift

    public init(firstName: String, lastName: String)

    Parameters

    firstName

    The first name of the user; 1-64 characters

    lastName

    The last name of the user; 0-64 characters