diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index 184ea2d5..a9d29a86 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -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