Improve setAuthenticationPhoneNumber and requestQrCodeAuthentication documentation.
This commit is contained in:
parent
19cde80fd1
commit
aa8c5ec1c9
@ -5478,7 +5478,7 @@ getAuthorizationState = AuthorizationState;
|
||||
setTdlibParameters use_test_dc:Bool database_directory:string files_directory:string database_encryption_key:bytes use_file_database:Bool use_chat_info_database:Bool use_message_database:Bool use_secret_chats:Bool api_id:int32 api_hash:string system_language_code:string device_model:string system_version:string application_version:string enable_storage_optimizer:Bool ignore_file_names:Bool = Ok;
|
||||
|
||||
//@description Sets the phone number of the user and sends an authentication code to the user. Works only when the current authorization state is authorizationStateWaitPhoneNumber,
|
||||
//-or if there is no pending authentication query and the current authorization state is authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword
|
||||
//-or if there is no pending authentication query and the current authorization state is authorizationStateWaitEmailAddress, authorizationStateWaitEmailCode, authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword
|
||||
//@phone_number The phone number of the user, in international format
|
||||
//@settings Settings for the authentication of the user's phone number; pass null to use default settings
|
||||
setAuthenticationPhoneNumber phone_number:string settings:phoneNumberAuthenticationSettings = Ok;
|
||||
@ -5497,7 +5497,7 @@ checkAuthenticationEmailCode code:EmailAddressAuthentication = Ok;
|
||||
checkAuthenticationCode code:string = Ok;
|
||||
|
||||
//@description Requests QR code authentication by scanning a QR code on another logged in device. Works only when the current authorization state is authorizationStateWaitPhoneNumber,
|
||||
//-or if there is no pending authentication query and the current authorization state is authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword
|
||||
//-or if there is no pending authentication query and the current authorization state is authorizationStateWaitEmailAddress, authorizationStateWaitEmailCode, authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword
|
||||
//@other_user_ids List of user identifiers of other users currently using the application
|
||||
requestQrCodeAuthentication other_user_ids:vector<int53> = Ok;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user