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
firstNameThe first name of the user; 1-64 characters
lastNameThe last name of the user; 0-64 characters
View on GitHub
Install in Dash
RegisterUser Structure Reference