More doc fixes
This commit is contained in:
parent
8b7502d9d2
commit
0b92c9bc9a
@ -49,7 +49,7 @@ Parameters:
|
|||||||
* method - account.changePhone
|
* method - account.changePhone
|
||||||
* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", }
|
* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - account.checkUsername
|
* method - account.checkUsername
|
||||||
* params - {"username": "string", }
|
* params - {"username": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - account.confirmPhone
|
* method - account.confirmPhone
|
||||||
* params - {"phone_code_hash": "string", "phone_code": "string", }
|
* params - {"phone_code_hash": "string", "phone_code": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - account.deleteAccount
|
* method - account.deleteAccount
|
||||||
* params - {"reason": "string", }
|
* params - {"reason": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - account.getAccountTTL
|
* method - account.getAccountTTL
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - account.getAuthorizations
|
* method - account.getAuthorizations
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - account.getNotifySettings
|
* method - account.getNotifySettings
|
||||||
* params - {"peer": InputNotifyPeer, }
|
* params - {"peer": InputNotifyPeer, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - account.getPassword
|
* method - account.getPassword
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - account.getPasswordSettings
|
* method - account.getPasswordSettings
|
||||||
* params - {"current_password_hash": "bytes", }
|
* params - {"current_password_hash": "bytes", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - account.getPrivacy
|
* method - account.getPrivacy
|
||||||
* params - {"key": InputPrivacyKey, }
|
* params - {"key": InputPrivacyKey, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - account.getTmpPassword
|
* method - account.getTmpPassword
|
||||||
* params - {"password_hash": "bytes", "period": int, }
|
* params - {"password_hash": "bytes", "period": int, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - account.getWallPapers
|
* method - account.getWallPapers
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - account.registerDevice
|
* method - account.registerDevice
|
||||||
* params - {"token_type": int, "token": "string", }
|
* params - {"token_type": int, "token": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - account.reportPeer
|
* method - account.reportPeer
|
||||||
* params - {"peer": InputPeer, "reason": ReportReason, }
|
* params - {"peer": InputPeer, "reason": ReportReason, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - account.resetAuthorization
|
* method - account.resetAuthorization
|
||||||
* params - {"hash": long, }
|
* params - {"hash": long, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - account.resetNotifySettings
|
* method - account.resetNotifySettings
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ Parameters:
|
|||||||
* method - account.sendChangePhoneCode
|
* method - account.sendChangePhoneCode
|
||||||
* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, }
|
* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ Parameters:
|
|||||||
* method - account.sendConfirmPhoneCode
|
* method - account.sendConfirmPhoneCode
|
||||||
* params - {"allow_flashcall": Bool, "hash": "string", "current_number": Bool, }
|
* params - {"allow_flashcall": Bool, "hash": "string", "current_number": Bool, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - account.setAccountTTL
|
* method - account.setAccountTTL
|
||||||
* params - {"ttl": AccountDaysTTL, }
|
* params - {"ttl": AccountDaysTTL, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - account.setPrivacy
|
* method - account.setPrivacy
|
||||||
* params - {"key": InputPrivacyKey, "rules": [InputPrivacyRule], }
|
* params - {"key": InputPrivacyKey, "rules": [InputPrivacyRule], }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - account.unregisterDevice
|
* method - account.unregisterDevice
|
||||||
* params - {"token_type": int, "token": "string", }
|
* params - {"token_type": int, "token": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - account.updateDeviceLocked
|
* method - account.updateDeviceLocked
|
||||||
* params - {"period": int, }
|
* params - {"period": int, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - account.updateNotifySettings
|
* method - account.updateNotifySettings
|
||||||
* params - {"peer": InputNotifyPeer, "settings": InputPeerNotifySettings, }
|
* params - {"peer": InputNotifyPeer, "settings": InputPeerNotifySettings, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - account.updatePasswordSettings
|
* method - account.updatePasswordSettings
|
||||||
* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, }
|
* params - {"current_password_hash": "bytes", "new_settings": account_PasswordInputSettings, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ Parameters:
|
|||||||
* method - account.updateProfile
|
* method - account.updateProfile
|
||||||
* params - {"first_name": "string", "last_name": "string", "about": "string", }
|
* params - {"first_name": "string", "last_name": "string", "about": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - account.updateStatus
|
* method - account.updateStatus
|
||||||
* params - {"offline": Bool, }
|
* params - {"offline": Bool, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - account.updateUsername
|
* method - account.updateUsername
|
||||||
* params - {"username": "string", }
|
* params - {"username": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ Parameters:
|
|||||||
* method - auth.bindTempAuthKey
|
* method - auth.bindTempAuthKey
|
||||||
* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", }
|
* params - {"perm_auth_key_id": long, "nonce": long, "expires_at": int, "encrypted_message": "bytes", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - auth.cancelCode
|
* method - auth.cancelCode
|
||||||
* params - {"phone_number": "string", "phone_code_hash": "string", }
|
* params - {"phone_number": "string", "phone_code_hash": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - auth.checkPassword
|
* method - auth.checkPassword
|
||||||
* params - {"password_hash": "bytes", }
|
* params - {"password_hash": "bytes", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - auth.checkPhone
|
* method - auth.checkPhone
|
||||||
* params - {"phone_number": "string", }
|
* params - {"phone_number": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - auth.dropTempAuthKeys
|
* method - auth.dropTempAuthKeys
|
||||||
* params - {"except_auth_keys": [long], }
|
* params - {"except_auth_keys": [long], }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - auth.exportAuthorization
|
* method - auth.exportAuthorization
|
||||||
* params - {"dc_id": int, }
|
* params - {"dc_id": int, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - auth.importAuthorization
|
* method - auth.importAuthorization
|
||||||
* params - {"id": int, "bytes": "bytes", }
|
* params - {"id": int, "bytes": "bytes", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ Parameters:
|
|||||||
* method - auth.importBotAuthorization
|
* method - auth.importBotAuthorization
|
||||||
* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", }
|
* params - {"api_id": int, "api_hash": "string", "bot_auth_token": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - auth.logOut
|
* method - auth.logOut
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - auth.recoverPassword
|
* method - auth.recoverPassword
|
||||||
* params - {"code": "string", }
|
* params - {"code": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - auth.requestPasswordRecovery
|
* method - auth.requestPasswordRecovery
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - auth.resendCode
|
* method - auth.resendCode
|
||||||
* params - {"phone_number": "string", "phone_code_hash": "string", }
|
* params - {"phone_number": "string", "phone_code_hash": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - auth.resetAuthorizations
|
* method - auth.resetAuthorizations
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ Parameters:
|
|||||||
* method - auth.sendCode
|
* method - auth.sendCode
|
||||||
* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, "api_id": int, "api_hash": "string", }
|
* params - {"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, "api_id": int, "api_hash": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - auth.sendInvites
|
* method - auth.sendInvites
|
||||||
* params - {"phone_numbers": ["string"], "message": "string", }
|
* params - {"phone_numbers": ["string"], "message": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ Parameters:
|
|||||||
* method - auth.signIn
|
* method - auth.signIn
|
||||||
* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", }
|
* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ Parameters:
|
|||||||
* method - auth.signUp
|
* method - auth.signUp
|
||||||
* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", }
|
* params - {"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", "first_name": "string", "last_name": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - bots.answerWebhookJSONQuery
|
* method - bots.answerWebhookJSONQuery
|
||||||
* params - {"query_id": long, "data": DataJSON, }
|
* params - {"query_id": long, "data": DataJSON, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - bots.sendCustomRequest
|
* method - bots.sendCustomRequest
|
||||||
* params - {"custom_method": "string", "params": DataJSON, }
|
* params - {"custom_method": "string", "params": DataJSON, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.checkUsername
|
* method - channels.checkUsername
|
||||||
* params - {"channel": InputChannel, "username": "string", }
|
* params - {"channel": InputChannel, "username": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ Parameters:
|
|||||||
* method - channels.createChannel
|
* method - channels.createChannel
|
||||||
* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", }
|
* params - {"broadcast": Bool, "megagroup": Bool, "title": "string", "about": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - channels.deleteChannel
|
* method - channels.deleteChannel
|
||||||
* params - {"channel": InputChannel, }
|
* params - {"channel": InputChannel, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.deleteMessages
|
* method - channels.deleteMessages
|
||||||
* params - {"channel": InputChannel, "id": [int], }
|
* params - {"channel": InputChannel, "id": [int], }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.deleteUserHistory
|
* method - channels.deleteUserHistory
|
||||||
* params - {"channel": InputChannel, "user_id": InputUser, }
|
* params - {"channel": InputChannel, "user_id": InputUser, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.editAbout
|
* method - channels.editAbout
|
||||||
* params - {"channel": InputChannel, "about": "string", }
|
* params - {"channel": InputChannel, "about": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ Parameters:
|
|||||||
* method - channels.editAdmin
|
* method - channels.editAdmin
|
||||||
* params - {"channel": InputChannel, "user_id": InputUser, "admin_rights": ChannelAdminRights, }
|
* params - {"channel": InputChannel, "user_id": InputUser, "admin_rights": ChannelAdminRights, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ Parameters:
|
|||||||
* method - channels.editBanned
|
* method - channels.editBanned
|
||||||
* params - {"channel": InputChannel, "user_id": InputUser, "banned_rights": ChannelBannedRights, }
|
* params - {"channel": InputChannel, "user_id": InputUser, "banned_rights": ChannelBannedRights, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.editPhoto
|
* method - channels.editPhoto
|
||||||
* params - {"channel": InputChannel, "photo": InputChatPhoto, }
|
* params - {"channel": InputChannel, "photo": InputChatPhoto, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.editTitle
|
* method - channels.editTitle
|
||||||
* params - {"channel": InputChannel, "title": "string", }
|
* params - {"channel": InputChannel, "title": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - channels.exportInvite
|
* method - channels.exportInvite
|
||||||
* params - {"channel": InputChannel, }
|
* params - {"channel": InputChannel, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.exportMessageLink
|
* method - channels.exportMessageLink
|
||||||
* params - {"channel": InputChannel, "id": int, }
|
* params - {"channel": InputChannel, "id": int, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ Parameters:
|
|||||||
* method - channels.getAdminLog
|
* method - channels.getAdminLog
|
||||||
* params - {"channel": InputChannel, "q": "string", "events_filter": ChannelAdminLogEventsFilter, "admins": [InputUser], "max_id": long, "min_id": long, "limit": int, }
|
* params - {"channel": InputChannel, "q": "string", "events_filter": ChannelAdminLogEventsFilter, "admins": [InputUser], "max_id": long, "min_id": long, "limit": int, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - channels.getAdminedPublicChannels
|
* method - channels.getAdminedPublicChannels
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - channels.getChannels
|
* method - channels.getChannels
|
||||||
* params - {"id": [InputChannel], }
|
* params - {"id": [InputChannel], }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - channels.getFullChannel
|
* method - channels.getFullChannel
|
||||||
* params - {"channel": InputChannel, }
|
* params - {"channel": InputChannel, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.getMessages
|
* method - channels.getMessages
|
||||||
* params - {"channel": InputChannel, "id": [int], }
|
* params - {"channel": InputChannel, "id": [int], }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.getParticipant
|
* method - channels.getParticipant
|
||||||
* params - {"channel": InputChannel, "user_id": InputUser, }
|
* params - {"channel": InputChannel, "user_id": InputUser, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ Parameters:
|
|||||||
* method - channels.getParticipants
|
* method - channels.getParticipants
|
||||||
* params - {"channel": InputChannel, "filter": ChannelParticipantsFilter, "offset": int, "limit": int, }
|
* params - {"channel": InputChannel, "filter": ChannelParticipantsFilter, "offset": int, "limit": int, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.inviteToChannel
|
* method - channels.inviteToChannel
|
||||||
* params - {"channel": InputChannel, "users": [InputUser], }
|
* params - {"channel": InputChannel, "users": [InputUser], }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - channels.joinChannel
|
* method - channels.joinChannel
|
||||||
* params - {"channel": InputChannel, }
|
* params - {"channel": InputChannel, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - channels.leaveChannel
|
* method - channels.leaveChannel
|
||||||
* params - {"channel": InputChannel, }
|
* params - {"channel": InputChannel, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.readHistory
|
* method - channels.readHistory
|
||||||
* params - {"channel": InputChannel, "max_id": int, }
|
* params - {"channel": InputChannel, "max_id": int, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ Parameters:
|
|||||||
* method - channels.reportSpam
|
* method - channels.reportSpam
|
||||||
* params - {"channel": InputChannel, "user_id": InputUser, "id": [int], }
|
* params - {"channel": InputChannel, "user_id": InputUser, "id": [int], }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.toggleInvites
|
* method - channels.toggleInvites
|
||||||
* params - {"channel": InputChannel, "enabled": Bool, }
|
* params - {"channel": InputChannel, "enabled": Bool, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.toggleSignatures
|
* method - channels.toggleSignatures
|
||||||
* params - {"channel": InputChannel, "enabled": Bool, }
|
* params - {"channel": InputChannel, "enabled": Bool, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ Parameters:
|
|||||||
* method - channels.updatePinnedMessage
|
* method - channels.updatePinnedMessage
|
||||||
* params - {"silent": Bool, "channel": InputChannel, "id": int, }
|
* params - {"silent": Bool, "channel": InputChannel, "id": int, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - channels.updateUsername
|
* method - channels.updateUsername
|
||||||
* params - {"channel": InputChannel, "username": "string", }
|
* params - {"channel": InputChannel, "username": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - contacts.block
|
* method - contacts.block
|
||||||
* params - {"id": InputUser, }
|
* params - {"id": InputUser, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - contacts.deleteContact
|
* method - contacts.deleteContact
|
||||||
* params - {"id": InputUser, }
|
* params - {"id": InputUser, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - contacts.deleteContacts
|
* method - contacts.deleteContacts
|
||||||
* params - {"id": [InputUser], }
|
* params - {"id": [InputUser], }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - contacts.exportCard
|
* method - contacts.exportCard
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - contacts.getBlocked
|
* method - contacts.getBlocked
|
||||||
* params - {"offset": int, "limit": int, }
|
* params - {"offset": int, "limit": int, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - contacts.getContacts
|
* method - contacts.getContacts
|
||||||
* params - {"hash": "string", }
|
* params - {"hash": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - contacts.getStatuses
|
* method - contacts.getStatuses
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ Parameters:
|
|||||||
* method - contacts.getTopPeers
|
* method - contacts.getTopPeers
|
||||||
* params - {"correspondents": Bool, "bots_pm": Bool, "bots_inline": Bool, "phone_calls": Bool, "groups": Bool, "channels": Bool, "offset": int, "limit": int, "hash": int, }
|
* params - {"correspondents": Bool, "bots_pm": Bool, "bots_inline": Bool, "phone_calls": Bool, "groups": Bool, "channels": Bool, "offset": int, "limit": int, "hash": int, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - contacts.importCard
|
* method - contacts.importCard
|
||||||
* params - {"export_card": [int], }
|
* params - {"export_card": [int], }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - contacts.importContacts
|
* method - contacts.importContacts
|
||||||
* params - {"contacts": [InputContact], "replace": Bool, }
|
* params - {"contacts": [InputContact], "replace": Bool, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - contacts.resetTopPeerRating
|
* method - contacts.resetTopPeerRating
|
||||||
* params - {"category": TopPeerCategory, "peer": InputPeer, }
|
* params - {"category": TopPeerCategory, "peer": InputPeer, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - contacts.resolveUsername
|
* method - contacts.resolveUsername
|
||||||
* params - {"username": "string", }
|
* params - {"username": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Parameters:
|
|||||||
* method - contacts.search
|
* method - contacts.search
|
||||||
* params - {"q": "string", "limit": int, }
|
* params - {"q": "string", "limit": int, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - contacts.unblock
|
* method - contacts.unblock
|
||||||
* params - {"id": InputUser, }
|
* params - {"id": InputUser, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ Parameters:
|
|||||||
* method - contest.saveDeveloperInfo
|
* method - contest.saveDeveloperInfo
|
||||||
* params - {"vk_id": int, "name": "string", "phone_number": "string", "age": int, "city": "string", }
|
* params - {"vk_id": int, "name": "string", "phone_number": "string", "age": int, "city": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - destroy_auth_key
|
* method - destroy_auth_key
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - destroy_session
|
* method - destroy_session
|
||||||
* params - {"session_id": long, }
|
* params - {"session_id": long, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - get_future_salts
|
* method - get_future_salts
|
||||||
* params - {"num": int, }
|
* params - {"num": int, }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Parameters:
|
|||||||
* method - help.getAppChangelog
|
* method - help.getAppChangelog
|
||||||
* params - {"prev_app_version": "string", }
|
* params - {"prev_app_version": "string", }
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - help.getAppUpdate
|
* method - help.getAppUpdate
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - help.getCdnConfig
|
* method - help.getCdnConfig
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - help.getConfig
|
* method - help.getConfig
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - help.getInviteText
|
* method - help.getInviteText
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - help.getNearestDc
|
* method - help.getNearestDc
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - help.getSupport
|
* method - help.getSupport
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Parameters:
|
|||||||
* method - help.getTermsOfService
|
* method - help.getTermsOfService
|
||||||
* params - {}
|
* params - {}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### As a user:
|
### As a user:
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user