Improve checkAuthenticationCode documentation.
GitOrigin-RevId: 0a3932d17f82009eaa27ce7a7f4e0017ca3c0e2d
This commit is contained in:
parent
649453ce0b
commit
18140a1b82
@ -2456,7 +2456,8 @@ setAuthenticationPhoneNumber phone_number:string allow_flash_call:Bool is_curren
|
||||
resendAuthenticationCode = Ok;
|
||||
|
||||
//@description Checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode @code The verification code received via SMS, Telegram message, phone call, or flash call
|
||||
//@first_name If the user is not yet registered, the first name of the user; 1-64 characters @last_name If the user is not yet registered; the last name of the user; optional; 0-64 characters
|
||||
//@first_name If the user is not yet registered, the first name of the user; 1-64 characters. You can also pass an empty string for unregistered user there to check verification code validness. In the latter case PHONE_NUMBER_UNOCCUPIED error will be returned for valid code
|
||||
//@last_name If the user is not yet registered; the last name of the user; optional; 0-64 characters
|
||||
checkAuthenticationCode code:string first_name:string last_name:string = Ok;
|
||||
|
||||
//@description Checks the authentication password for correctness. Works only when the current authorization state is authorizationStateWaitPassword @password The password to check
|
||||
|
Loading…
Reference in New Issue
Block a user