libtd-ktx / kotlinx.telegram.coroutines / registerUser
registerUser
suspend fun TelegramFlow.registerUser(firstName: String?, lastName: String?): Unit
Suspend function, which finishes user registration. Works only when the current authorization state is authorizationStateWaitRegistration.
Parameters
firstName - The first name of the user; 1-64 characters.
lastName - The last name of the user; 0-64 characters.