Improve documentation.
This commit is contained in:
parent
5b6e2d2c90
commit
ca9dd55141
@ -3246,7 +3246,7 @@ networkStatistics since_date:int32 entries:vector<NetworkStatisticsEntry> = Netw
|
||||
//@use_less_data_for_calls True, if "use less data for calls" option needs to be enabled
|
||||
autoDownloadSettings is_auto_download_enabled:Bool max_photo_file_size:int32 max_video_file_size:int32 max_other_file_size:int32 video_upload_bitrate:int32 preload_large_videos:Bool preload_next_audio:Bool use_less_data_for_calls:Bool = AutoDownloadSettings;
|
||||
|
||||
//@description Contains auto-download settings presets for the user
|
||||
//@description Contains auto-download settings presets for the current user
|
||||
//@low Preset with lowest settings; supposed to be used by default when roaming
|
||||
//@medium Preset with medium settings; supposed to be used by default when using mobile data
|
||||
//@high Preset with highest settings; supposed to be used by default when connected on Wi-Fi
|
||||
@ -3924,7 +3924,7 @@ setDatabaseEncryptionKey new_encryption_key:bytes = Ok;
|
||||
//@description Returns the current state of 2-step verification
|
||||
getPasswordState = PasswordState;
|
||||
|
||||
//@description Changes the password for the user. If a new recovery email address is specified, then the change will not be applied until the new recovery email address is confirmed
|
||||
//@description Changes the password for the current user. If a new recovery email address is specified, then the change will not be applied until the new recovery email address is confirmed
|
||||
//@old_password Previous password of the user @new_password New password of the user; may be empty to remove the password @new_hint New password hint; may be empty @set_recovery_email_address Pass true if the recovery email address should be changed @new_recovery_email_address New recovery email address; may be empty
|
||||
setPassword old_password:string new_password:string new_hint:string set_recovery_email_address:Bool new_recovery_email_address:string = PasswordState;
|
||||
|
||||
@ -4583,7 +4583,7 @@ setChatMemberStatus chat_id:int53 member_id:MessageSender status:ChatMemberStatu
|
||||
//@chat_id Chat identifier
|
||||
//@member_id Member identifier
|
||||
//@banned_until_date Point in time (Unix timestamp) when the user will be unbanned; 0 if never. If the user is banned for more than 366 days or for less than 30 seconds from the current time, the user is considered to be banned forever. Ignored in basic groups
|
||||
//@revoke_messages Pass true to delete all messages in the chat for the user. Always true for supergroups and channels
|
||||
//@revoke_messages Pass true to delete all messages in the chat for the user that is being removed. Always true for supergroups and channels
|
||||
banChatMember chat_id:int53 member_id:MessageSender banned_until_date:int32 revoke_messages:Bool = Ok;
|
||||
|
||||
//@description Checks whether the current session can be used to transfer a chat ownership to another user
|
||||
@ -5037,7 +5037,7 @@ setProfilePhoto photo:InputChatPhoto = Ok;
|
||||
//@description Deletes a profile photo @profile_photo_id Identifier of the profile photo to delete
|
||||
deleteProfilePhoto profile_photo_id:int64 = Ok;
|
||||
|
||||
//@description Changes the first and last name of the current user @first_name The new value of the first name for the user; 1-64 characters @last_name The new value of the optional last name for the user; 0-64 characters
|
||||
//@description Changes the first and last name of the current user @first_name The new value of the first name for the current user; 1-64 characters @last_name The new value of the optional last name for the current user; 0-64 characters
|
||||
setName first_name:string last_name:string = Ok;
|
||||
|
||||
//@description Changes the bio of the current user @bio The new value of the user bio; 0-70 characters without line feeds
|
||||
@ -5053,7 +5053,7 @@ setLocation location:location = Ok;
|
||||
//@phone_number The new phone number of the user in international format @settings Settings for the authentication of the user's phone number
|
||||
changePhoneNumber phone_number:string settings:phoneNumberAuthenticationSettings = AuthenticationCodeInfo;
|
||||
|
||||
//@description Re-sends the authentication code sent to confirm a new phone number for the user. Works only if the previously received authenticationCodeInfo next_code_type was not null and the server-specified timeout has passed
|
||||
//@description Re-sends the authentication code sent to confirm a new phone number for the current user. Works only if the previously received authenticationCodeInfo next_code_type was not null and the server-specified timeout has passed
|
||||
resendChangePhoneNumberCode = AuthenticationCodeInfo;
|
||||
|
||||
//@description Checks the authentication code sent to confirm a new phone number of the user @code Verification code received by SMS, phone call or flash call
|
||||
|
Loading…
Reference in New Issue
Block a user