Simplified docs.madelineproto.xyz
This commit is contained in:
parent
2b857cb6ad
commit
214471bc60
@ -12,9 +12,9 @@ Change the phone number associated to this account
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|phone\_number|[string](../types/string.md) | Yes|Phone number|
|
|phone\_number|[CLICK ME string](../types/string.md) | Yes|Phone number|
|
||||||
|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash returned by account.sendChangePhoneCode|
|
|phone\_code\_hash|[CLICK ME string](../types/string.md) | Yes|Phone code hash returned by account.sendChangePhoneCode|
|
||||||
|phone\_code|[string](../types/string.md) | Yes|The phone code sent by account.sendChangePhoneCode|
|
|phone\_code|[CLICK ME string](../types/string.md) | Yes|The phone code sent by account.sendChangePhoneCode|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -12,7 +12,7 @@ Check if this username is available
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|username|[string](../types/string.md) | Yes|The username to check|
|
|username|[CLICK ME string](../types/string.md) | Yes|The username to check|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,8 +12,8 @@ Confirm this phone number is associated to this account, obtain phone_code_hash
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|phone\_code\_hash|[string](../types/string.md) | Yes|obtain phone_code_hash from sendConfirmPhoneCode|
|
|phone\_code\_hash|[CLICK ME string](../types/string.md) | Yes|obtain phone_code_hash from sendConfirmPhoneCode|
|
||||||
|phone\_code|[string](../types/string.md) | Yes|The code sent by sendConfirmPhoneCode|
|
|phone\_code|[CLICK ME string](../types/string.md) | Yes|The code sent by sendConfirmPhoneCode|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,7 +12,7 @@ Delete this account
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|reason|[string](../types/string.md) | Yes|Why are you going away? :(|
|
|reason|[CLICK ME string](../types/string.md) | Yes|Why are you going away? :(|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,7 +12,7 @@ Get notification settings
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Yes|Notification source |
|
|peer|[CLICK ME InputNotifyPeer](../types/InputNotifyPeer.md) | Yes|Notification source |
|
||||||
|
|
||||||
|
|
||||||
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
|
### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md)
|
||||||
|
@ -12,7 +12,7 @@ Get the current 2FA settings
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|current\_password\_hash|[bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);|
|
|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md)
|
### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md)
|
||||||
|
@ -12,7 +12,7 @@ Get privacy settings
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Yes|Privacy setting key|
|
|key|[CLICK ME InputPrivacyKey](../types/InputPrivacyKey.md) | Yes|Privacy setting key|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md)
|
### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md)
|
||||||
|
@ -12,8 +12,8 @@ Get temporary password for buying products through bots
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|password\_hash|[bytes](../types/bytes.md) | Yes|The password hash|
|
|password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|The password hash|
|
||||||
|period|[int](../types/int.md) | Yes|The validity period|
|
|period|[CLICK ME int](../types/int.md) | Yes|The validity period|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [account\_TmpPassword](../types/account_TmpPassword.md)
|
### Return type: [account\_TmpPassword](../types/account_TmpPassword.md)
|
||||||
|
@ -12,10 +12,10 @@ Register device for push notifications
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|token\_type|[int](../types/int.md) | Yes|Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone, 6 - Blackberry, and other, see source code of official apps for more info|
|
|token\_type|[CLICK ME int](../types/int.md) | Yes|Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone, 6 - Blackberry, and other, see source code of official apps for more info|
|
||||||
|token|[string](../types/string.md) | Yes|Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and other, see source code of official apps for more info|
|
|token|[CLICK ME string](../types/string.md) | Yes|Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and other, see source code of official apps for more info|
|
||||||
|app\_sandbox|[Bool](../types/Bool.md) | Yes|Should the app run in a sandbox?|
|
|app\_sandbox|[CLICK ME Bool](../types/Bool.md) | Yes|Should the app run in a sandbox?|
|
||||||
|other\_uids|Array of [int](../types/int.md) | Yes|Other UUIDs|
|
|other\_uids|Array of [CLICK ME int](../types/int.md) | Yes|Other UUIDs|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Report for spam
|
|||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|The peer to report|
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|The peer to report|
|
||||||
|reason|[ReportReason](../types/ReportReason.md) | Yes|Why are you reporting this peer|
|
|reason|[CLICK ME ReportReason](../types/ReportReason.md) | Yes|Why are you reporting this peer|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,7 +12,7 @@ Delete a certain session
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|hash|[long](../types/long.md) | Yes|The session hash, obtained from $MadelineProto->account->getAuthorizations|
|
|hash|[CLICK ME long](../types/long.md) | Yes|The session hash, obtained from $MadelineProto->account->getAuthorizations|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,7 +12,7 @@ Delete a certain telegram web login authorization
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|hash|[long](../types/long.md) | Yes|The authorization's hash|
|
|hash|[CLICK ME long](../types/long.md) | Yes|The authorization's hash|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,9 +12,9 @@ Change the phone number
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|allow\_flashcall|[Bool](../types/Bool.md) | Optional|Can the code be sent using a flash call instead of an SMS?|
|
|allow\_flashcall|[CLICK ME Bool](../types/Bool.md) | Optional|Can the code be sent using a flash call instead of an SMS?|
|
||||||
|phone\_number|[string](../types/string.md) | Yes|New phone number|
|
|phone\_number|[CLICK ME string](../types/string.md) | Yes|New phone number|
|
||||||
|current\_number|[Bool](../types/Bool.md) | Optional|Current phone number|
|
|current\_number|[CLICK ME Bool](../types/Bool.md) | Optional|Current phone number|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [auth\_SentCode](../types/auth_SentCode.md)
|
### Return type: [auth\_SentCode](../types/auth_SentCode.md)
|
||||||
|
@ -12,9 +12,9 @@ Send confirmation phone code
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|allow\_flashcall|[Bool](../types/Bool.md) | Optional|Can telegram call you instead of sending an SMS?|
|
|allow\_flashcall|[CLICK ME Bool](../types/Bool.md) | Optional|Can telegram call you instead of sending an SMS?|
|
||||||
|hash|[string](../types/string.md) | Yes|The hash|
|
|hash|[CLICK ME string](../types/string.md) | Yes|The hash|
|
||||||
|current\_number|[Bool](../types/Bool.md) | Optional|The current phone number|
|
|current\_number|[CLICK ME Bool](../types/Bool.md) | Optional|The current phone number|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [auth\_SentCode](../types/auth_SentCode.md)
|
### Return type: [auth\_SentCode](../types/auth_SentCode.md)
|
||||||
|
@ -12,7 +12,7 @@ Set account TTL
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Yes|Time To Live of account|
|
|ttl|[CLICK ME AccountDaysTTL](../types/AccountDaysTTL.md) | Yes|Time To Live of account|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,8 +12,8 @@ Set privacy settings
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Yes|Privacy setting|
|
|key|[CLICK ME InputPrivacyKey](../types/InputPrivacyKey.md) | Yes|Privacy setting|
|
||||||
|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Yes|Privacy settings|
|
|rules|Array of [CLICK ME InputPrivacyRule](../types/InputPrivacyRule.md) | Yes|Privacy settings|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md)
|
### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md)
|
||||||
|
@ -12,9 +12,9 @@ Stop sending PUSH notifications to app
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|token\_type|[int](../types/int.md) | Yes|Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and other, see source code of official apps for more info|
|
|token\_type|[CLICK ME int](../types/int.md) | Yes|Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and other, see source code of official apps for more info|
|
||||||
|token|[string](../types/string.md) | Yes|Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and other, see source code of official apps for more info|
|
|token|[CLICK ME string](../types/string.md) | Yes|Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and other, see source code of official apps for more info|
|
||||||
|other\_uids|Array of [int](../types/int.md) | Yes|Other UUIDs|
|
|other\_uids|Array of [CLICK ME int](../types/int.md) | Yes|Other UUIDs|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,7 +12,7 @@ Disable all notifications for a certain period
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|period|[int](../types/int.md) | Yes|For how long should notifications be disabled|
|
|period|[CLICK ME int](../types/int.md) | Yes|For how long should notifications be disabled|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,8 +12,8 @@ Change notification settings
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Yes|The peers to which the notification settings should be applied|
|
|peer|[CLICK ME InputNotifyPeer](../types/InputNotifyPeer.md) | Yes|The peers to which the notification settings should be applied|
|
||||||
|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Yes|Notification settings|
|
|settings|[CLICK ME InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Yes|Notification settings|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,8 +12,8 @@ Update the 2FA password settings
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|current\_password\_hash|[bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);|
|
|current\_password\_hash|[CLICK ME bytes](../types/bytes.md) | Yes|$current_salt = $MadelineProto->account->getPassword()['current_salt']; $current_password_hash = hash('sha256', $current_salt.$password.$current_salt);|
|
||||||
|new\_settings|[account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings|
|
|new\_settings|[CLICK ME account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Yes|New 2FA settings|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,9 +12,9 @@ Update profile info
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|first\_name|[string](../types/string.md) | Optional|The first name|
|
|first\_name|[CLICK ME string](../types/string.md) | Optional|The first name|
|
||||||
|last\_name|[string](../types/string.md) | Optional|The last name|
|
|last\_name|[CLICK ME string](../types/string.md) | Optional|The last name|
|
||||||
|about|[string](../types/string.md) | Optional|The bio/about field|
|
|about|[CLICK ME string](../types/string.md) | Optional|The bio/about field|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -12,7 +12,7 @@ Update online status
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|offline|[Bool](../types/Bool.md) | Yes|offline to set the status to offline|
|
|offline|[CLICK ME Bool](../types/Bool.md) | Yes|offline to set the status to offline|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,7 +12,7 @@ Update this user's username
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|username|[string](../types/string.md) | Yes|The new username|
|
|username|[CLICK ME string](../types/string.md) | Yes|The new username|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -12,8 +12,8 @@ Invalidate sent phone code
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|phone\_number|[string](../types/string.md) | Yes|Phone number|
|
|phone\_number|[CLICK ME string](../types/string.md) | Yes|Phone number|
|
||||||
|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash|
|
|phone\_code\_hash|[CLICK ME string](../types/string.md) | Yes|Phone code hash|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,7 +12,7 @@ Check if this phone number is registered on telegram
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|phone\_number|[string](../types/string.md) | Yes|The phone number to check|
|
|phone\_number|[CLICK ME string](../types/string.md) | Yes|The phone number to check|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md)
|
### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md)
|
||||||
|
@ -12,7 +12,7 @@ Delete all temporary authorization keys except the ones provided
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|except\_auth\_keys|Array of [long](../types/long.md) | Yes|The temporary authorization keys to keep|
|
|except\_auth\_keys|Array of [CLICK ME long](../types/long.md) | Yes|The temporary authorization keys to keep|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,7 +12,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|code|[string](../types/string.md) | Yes|The code that was emailed to you|
|
|code|[CLICK ME string](../types/string.md) | Yes|The code that was emailed to you|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [auth\_Authorization](../types/auth_Authorization.md)
|
### Return type: [auth\_Authorization](../types/auth_Authorization.md)
|
||||||
|
@ -12,8 +12,8 @@ Resend the SMS verification code
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|phone\_number|[string](../types/string.md) | Yes|The phone number|
|
|phone\_number|[CLICK ME string](../types/string.md) | Yes|The phone number|
|
||||||
|phone\_code\_hash|[string](../types/string.md) | Yes|The phone code hash|
|
|phone\_code\_hash|[CLICK ME string](../types/string.md) | Yes|The phone code hash|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [auth\_SentCode](../types/auth_SentCode.md)
|
### Return type: [auth\_SentCode](../types/auth_SentCode.md)
|
||||||
|
@ -12,8 +12,8 @@ Invite friends to telegram!
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|phone\_numbers|Array of [string](../types/string.md) | Yes|Phone numbers to invite|
|
|phone\_numbers|Array of [CLICK ME string](../types/string.md) | Yes|Phone numbers to invite|
|
||||||
|message|[string](../types/string.md) | Yes|The message to send|
|
|message|[CLICK ME string](../types/string.md) | Yes|The message to send|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -10,8 +10,8 @@ description: bots.answerWebhookJSONQuery parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|query\_id|[long](../types/long.md) | Yes|
|
|query\_id|[CLICK ME long](../types/long.md) | Yes|
|
||||||
|data|[DataJSON](../types/DataJSON.md) | Yes|
|
|data|[CLICK ME DataJSON](../types/DataJSON.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -10,8 +10,8 @@ description: bots.sendCustomRequest parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|custom\_method|[string](../types/string.md) | Yes|
|
|custom\_method|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|params|[DataJSON](../types/DataJSON.md) | Yes|
|
|params|[CLICK ME DataJSON](../types/DataJSON.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [DataJSON](../types/DataJSON.md)
|
### Return type: [DataJSON](../types/DataJSON.md)
|
||||||
|
@ -11,7 +11,7 @@ description: channels.checkUsername parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|username|[string](../types/string.md) | Yes|
|
|username|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -10,10 +10,10 @@ description: channels.createChannel parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|broadcast|[Bool](../types/Bool.md) | Optional|
|
|broadcast|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|megagroup|[Bool](../types/Bool.md) | Optional|
|
|megagroup|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|title|[string](../types/string.md) | Yes|
|
|title|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|about|[string](../types/string.md) | Yes|
|
|about|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -11,7 +11,7 @@ description: channels.deleteHistory parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|max\_id|[int](../types/int.md) | Yes|
|
|max\_id|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -11,7 +11,7 @@ description: channels.deleteMessages parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|id|Array of [int](../types/int.md) | Yes|
|
|id|Array of [CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md)
|
### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md)
|
||||||
|
@ -11,7 +11,7 @@ description: channels.editAbout parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|about|[string](../types/string.md) | Yes|
|
|about|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,7 +12,7 @@ description: channels.editAdmin parameters, return type and example
|
|||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
||||||
|admin\_rights|[ChannelAdminRights](../types/ChannelAdminRights.md) | Yes|
|
|admin\_rights|[CLICK ME ChannelAdminRights](../types/ChannelAdminRights.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -12,7 +12,7 @@ description: channels.editBanned parameters, return type and example
|
|||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
||||||
|banned\_rights|[ChannelBannedRights](../types/ChannelBannedRights.md) | Yes|
|
|banned\_rights|[CLICK ME ChannelBannedRights](../types/ChannelBannedRights.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -11,7 +11,7 @@ description: channels.editPhoto parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Optional|
|
|photo|[CLICK ME InputChatPhoto](../types/InputChatPhoto.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -11,7 +11,7 @@ description: channels.editTitle parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|title|[string](../types/string.md) | Yes|
|
|title|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -11,8 +11,8 @@ description: channels.exportMessageLink parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|id|[int](../types/int.md) | Yes|
|
|id|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|grouped|[Bool](../types/Bool.md) | Yes|
|
|grouped|[CLICK ME Bool](../types/Bool.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [ExportedMessageLink](../types/ExportedMessageLink.md)
|
### Return type: [ExportedMessageLink](../types/ExportedMessageLink.md)
|
||||||
|
@ -11,12 +11,12 @@ description: channels.getAdminLog parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|q|[string](../types/string.md) | Yes|
|
|q|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|events\_filter|[ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md) | Optional|
|
|events\_filter|[CLICK ME ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md) | Optional|
|
||||||
|admins|Array of [Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
|admins|Array of [Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
||||||
|max\_id|[long](../types/long.md) | Yes|
|
|max\_id|[CLICK ME long](../types/long.md) | Yes|
|
||||||
|min\_id|[long](../types/long.md) | Yes|
|
|min\_id|[CLICK ME long](../types/long.md) | Yes|
|
||||||
|limit|[int](../types/int.md) | Yes|
|
|limit|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md)
|
### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md)
|
||||||
|
@ -11,10 +11,10 @@ description: channels.getParticipants parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|filter|[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) | Yes|
|
|filter|[CLICK ME ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) | Yes|
|
||||||
|offset|[int](../types/int.md) | Yes|
|
|offset|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|limit|[int](../types/int.md) | Yes|
|
|limit|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|hash|[int](../types/int.md) | Yes|
|
|hash|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)
|
### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)
|
||||||
|
@ -11,7 +11,7 @@ description: channels.readHistory parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|max\_id|[int](../types/int.md) | Yes|
|
|max\_id|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -11,7 +11,7 @@ description: channels.readMessageContents parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|id|Array of [int](../types/int.md) | Yes|
|
|id|Array of [CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,7 +12,7 @@ description: channels.reportSpam parameters, return type and example
|
|||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
||||||
|id|Array of [int](../types/int.md) | Yes|
|
|id|Array of [CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -11,7 +11,7 @@ description: channels.setStickers parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Optional|
|
|stickerset|[CLICK ME InputStickerSet](../types/InputStickerSet.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -11,7 +11,7 @@ description: channels.toggleInvites parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|enabled|[Bool](../types/Bool.md) | Yes|
|
|enabled|[CLICK ME Bool](../types/Bool.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -11,7 +11,7 @@ description: channels.togglePreHistoryHidden parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|enabled|[Bool](../types/Bool.md) | Yes|
|
|enabled|[CLICK ME Bool](../types/Bool.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -11,7 +11,7 @@ description: channels.toggleSignatures parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|enabled|[Bool](../types/Bool.md) | Yes|
|
|enabled|[CLICK ME Bool](../types/Bool.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -10,9 +10,9 @@ description: channels.updatePinnedMessage parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|silent|[Bool](../types/Bool.md) | Optional|
|
|silent|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|id|[int](../types/int.md) | Yes|
|
|id|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -11,7 +11,7 @@ description: channels.updateUsername parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|username|[string](../types/string.md) | Yes|
|
|username|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,8 +12,8 @@ Get blocked users
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|offset|[int](../types/int.md) | Yes|Initially 0, then set to the number of blocked contacts previously fetched|
|
|offset|[CLICK ME int](../types/int.md) | Yes|Initially 0, then set to the number of blocked contacts previously fetched|
|
||||||
|limit|[int](../types/int.md) | Yes|How many blocked contacts to fetch|
|
|limit|[CLICK ME int](../types/int.md) | Yes|How many blocked contacts to fetch|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [contacts\_Blocked](../types/contacts_Blocked.md)
|
### Return type: [contacts\_Blocked](../types/contacts_Blocked.md)
|
||||||
|
@ -12,7 +12,7 @@ Get info about a certain contact
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|hash|[int](../types/int.md) | Yes|$ids is the list ids of previously fetched contacts, $hash = $MadelineProto->gen_vector_hash($ids);|
|
|hash|[CLICK ME int](../types/int.md) | Yes|$ids is the list ids of previously fetched contacts, $hash = $MadelineProto->gen_vector_hash($ids);|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [contacts\_Contacts](../types/contacts_Contacts.md)
|
### Return type: [contacts\_Contacts](../types/contacts_Contacts.md)
|
||||||
|
@ -12,15 +12,15 @@ Get most used chats
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|correspondents|[Bool](../types/Bool.md) | Optional||
|
|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional||
|
||||||
|bots\_pm|[Bool](../types/Bool.md) | Optional||
|
|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional||
|
||||||
|bots\_inline|[Bool](../types/Bool.md) | Optional||
|
|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional||
|
||||||
|phone\_calls|[Bool](../types/Bool.md) | Optional||
|
|phone\_calls|[CLICK ME Bool](../types/Bool.md) | Optional||
|
||||||
|groups|[Bool](../types/Bool.md) | Optional||
|
|groups|[CLICK ME Bool](../types/Bool.md) | Optional||
|
||||||
|channels|[Bool](../types/Bool.md) | Optional||
|
|channels|[CLICK ME Bool](../types/Bool.md) | Optional||
|
||||||
|offset|[int](../types/int.md) | Yes||
|
|offset|[CLICK ME int](../types/int.md) | Yes||
|
||||||
|limit|[int](../types/int.md) | Yes||
|
|limit|[CLICK ME int](../types/int.md) | Yes||
|
||||||
|hash|[int](../types/int.md) | Yes||
|
|hash|[CLICK ME int](../types/int.md) | Yes||
|
||||||
|
|
||||||
|
|
||||||
### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md)
|
### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md)
|
||||||
|
@ -12,7 +12,7 @@ Import card as contact
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|export\_card|Array of [int](../types/int.md) | Yes|The card|
|
|export\_card|Array of [CLICK ME int](../types/int.md) | Yes|The card|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -12,7 +12,7 @@ Add phone number as contact
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|contacts|Array of [InputContact](../types/InputContact.md) | Yes|The numbers to import|
|
|contacts|Array of [CLICK ME InputContact](../types/InputContact.md) | Yes|The numbers to import|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md)
|
### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md)
|
||||||
|
@ -10,7 +10,7 @@ description: contacts.resetTopPeerRating parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|category|[TopPeerCategory](../types/TopPeerCategory.md) | Yes|
|
|category|[CLICK ME TopPeerCategory](../types/TopPeerCategory.md) | Yes|
|
||||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@ Search contacts
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|q|[string](../types/string.md) | Yes|The search query|
|
|q|[CLICK ME string](../types/string.md) | Yes|The search query|
|
||||||
|limit|[int](../types/int.md) | Yes|How many results should be returned|
|
|limit|[CLICK ME int](../types/int.md) | Yes|How many results should be returned|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [contacts\_Found](../types/contacts_Found.md)
|
### Return type: [contacts\_Found](../types/contacts_Found.md)
|
||||||
|
@ -10,7 +10,7 @@ description: help.getAppChangelog parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|prev\_app\_version|[string](../types/string.md) | Yes|
|
|prev\_app\_version|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -10,7 +10,7 @@ description: help.getRecentMeUrls parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|referer|[string](../types/string.md) | Yes|
|
|referer|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md)
|
### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md)
|
||||||
|
@ -10,7 +10,7 @@ description: help.saveAppLog parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Yes|
|
|events|Array of [CLICK ME InputAppEvent](../types/InputAppEvent.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -10,8 +10,8 @@ description: help.setBotUpdatesStatus parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|pending\_updates\_count|[int](../types/int.md) | Yes|
|
|pending\_updates\_count|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|message|[string](../types/string.md) | Yes|
|
|message|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -12,14 +12,14 @@ Initializes connection and save information on the user's device and application
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|api\_id|[int](../types/int.md) | Yes|Application identifier|
|
|api\_id|[CLICK ME int](../types/int.md) | Yes|Application identifier|
|
||||||
|device\_model|[string](../types/string.md) | Yes|Device model|
|
|device\_model|[CLICK ME string](../types/string.md) | Yes|Device model|
|
||||||
|system\_version|[string](../types/string.md) | Yes|System version|
|
|system\_version|[CLICK ME string](../types/string.md) | Yes|System version|
|
||||||
|app\_version|[string](../types/string.md) | Yes|App version|
|
|app\_version|[CLICK ME string](../types/string.md) | Yes|App version|
|
||||||
|system\_lang\_code|[string](../types/string.md) | Yes|Language code|
|
|system\_lang\_code|[CLICK ME string](../types/string.md) | Yes|Language code|
|
||||||
|lang\_pack|[string](../types/string.md) | Yes|Language pack to use|
|
|lang\_pack|[CLICK ME string](../types/string.md) | Yes|Language pack to use|
|
||||||
|lang\_code|[string](../types/string.md) | Yes|Language code to set|
|
|lang\_code|[CLICK ME string](../types/string.md) | Yes|Language code to set|
|
||||||
|query|[!X](../types/!X.md) | Yes|Nested query|
|
|query|[CLICK ME !X](../types/!X.md) | Yes|Nested query|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [X](../types/X.md)
|
### Return type: [X](../types/X.md)
|
||||||
|
@ -12,8 +12,8 @@ Invokes a query after successfull completion of one of the previous queries.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|msg\_id|[long](../types/long.md) | Yes|Message identifier on which a current query depends|
|
|msg\_id|[CLICK ME long](../types/long.md) | Yes|Message identifier on which a current query depends|
|
||||||
|query|[!X](../types/!X.md) | Yes|The query itself|
|
|query|[CLICK ME !X](../types/!X.md) | Yes|The query itself|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [X](../types/X.md)
|
### Return type: [X](../types/X.md)
|
||||||
|
@ -12,8 +12,8 @@ Result type returned by a current query.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|msg\_ids|Array of [long](../types/long.md) | Yes|List of messages on which a current query depends|
|
|msg\_ids|Array of [CLICK ME long](../types/long.md) | Yes|List of messages on which a current query depends|
|
||||||
|query|[!X](../types/!X.md) | Yes|The query itself|
|
|query|[CLICK ME !X](../types/!X.md) | Yes|The query itself|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [X](../types/X.md)
|
### Return type: [X](../types/X.md)
|
||||||
|
@ -12,8 +12,8 @@ Invoke this method with layer X
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|layer|[int](../types/int.md) | Yes|The layer version|
|
|layer|[CLICK ME int](../types/int.md) | Yes|The layer version|
|
||||||
|query|[!X](../types/!X.md) | Yes|The query|
|
|query|[CLICK ME !X](../types/!X.md) | Yes|The query|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [X](../types/X.md)
|
### Return type: [X](../types/X.md)
|
||||||
|
@ -12,7 +12,7 @@ Invoke with method without returning updates in the socket
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|query|[!X](../types/!X.md) | Yes|The query|
|
|query|[CLICK ME !X](../types/!X.md) | Yes|The query|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [X](../types/X.md)
|
### Return type: [X](../types/X.md)
|
||||||
|
@ -10,7 +10,7 @@ description: langpack.getDifference parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|from\_version|[int](../types/int.md) | Yes|
|
|from\_version|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [LangPackDifference](../types/LangPackDifference.md)
|
### Return type: [LangPackDifference](../types/LangPackDifference.md)
|
||||||
|
@ -10,7 +10,7 @@ description: langpack.getLangPack parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|lang\_code|[string](../types/string.md) | Yes|
|
|lang\_code|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [LangPackDifference](../types/LangPackDifference.md)
|
### Return type: [LangPackDifference](../types/LangPackDifference.md)
|
||||||
|
@ -10,8 +10,8 @@ description: langpack.getStrings parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|lang\_code|[string](../types/string.md) | Yes|
|
|lang\_code|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|keys|Array of [string](../types/string.md) | Yes|
|
|keys|Array of [CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Vector\_of\_LangPackString](../types/LangPackString.md)
|
### Return type: [Vector\_of\_LangPackString](../types/LangPackString.md)
|
||||||
|
@ -12,7 +12,7 @@ description: messages.addChatUser parameters, return type and example
|
|||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
||||||
|fwd\_limit|[int](../types/int.md) | Yes|
|
|fwd\_limit|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -10,7 +10,7 @@ description: messages.checkChatInvite parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|hash|[string](../types/string.md) | Yes|
|
|hash|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [ChatInvite](../types/ChatInvite.md)
|
### Return type: [ChatInvite](../types/ChatInvite.md)
|
||||||
|
@ -10,7 +10,7 @@ description: messages.clearRecentStickers parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|attached|[Bool](../types/Bool.md) | Optional|
|
|attached|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -11,7 +11,7 @@ description: messages.createChat parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|users|Array of [Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Yes|
|
|users|Array of [Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Yes|
|
||||||
|title|[string](../types/string.md) | Yes|
|
|title|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -10,9 +10,9 @@ description: messages.deleteHistory parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|just\_clear|[Bool](../types/Bool.md) | Optional|
|
|just\_clear|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|max\_id|[int](../types/int.md) | Yes|
|
|max\_id|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md)
|
### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md)
|
||||||
|
@ -10,8 +10,8 @@ description: messages.deleteMessages parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|revoke|[Bool](../types/Bool.md) | Optional|
|
|revoke|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|id|Array of [int](../types/int.md) | Yes|
|
|id|Array of [CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md)
|
### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md)
|
||||||
|
@ -12,7 +12,7 @@ description: messages.editChatAdmin parameters, return type and example
|
|||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
||||||
|is\_admin|[Bool](../types/Bool.md) | Yes|
|
|is\_admin|[CLICK ME Bool](../types/Bool.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -11,7 +11,7 @@ description: messages.editChatPhoto parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Optional|
|
|photo|[CLICK ME InputChatPhoto](../types/InputChatPhoto.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -11,7 +11,7 @@ description: messages.editChatTitle parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|title|[string](../types/string.md) | Yes|
|
|title|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -10,14 +10,14 @@ description: messages.editInlineBotMessage parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|no\_webpage|[Bool](../types/Bool.md) | Optional|
|
|no\_webpage|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|stop\_geo\_live|[Bool](../types/Bool.md) | Optional|
|
|stop\_geo\_live|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Yes|
|
|id|[CLICK ME InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Yes|
|
||||||
|message|[string](../types/string.md) | Optional|
|
|message|[CLICK ME string](../types/string.md) | Optional|
|
||||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
|reply\_markup|[CLICK ME ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||||
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|
|entities|Array of [CLICK ME MessageEntity](../types/MessageEntity.md) | Optional|
|
||||||
|parse\_mode| [string](../types/string.md) | Optional |
|
|parse\_mode| [string](../types/string.md) | Optional |
|
||||||
|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Optional|
|
|geo\_point|[CLICK ME InputGeoPoint](../types/InputGeoPoint.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -10,15 +10,15 @@ description: messages.editMessage parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|no\_webpage|[Bool](../types/Bool.md) | Optional|
|
|no\_webpage|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|stop\_geo\_live|[Bool](../types/Bool.md) | Optional|
|
|stop\_geo\_live|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|id|[int](../types/int.md) | Yes|
|
|id|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|message|[string](../types/string.md) | Optional|
|
|message|[CLICK ME string](../types/string.md) | Optional|
|
||||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
|reply\_markup|[CLICK ME ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||||
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|
|entities|Array of [CLICK ME MessageEntity](../types/MessageEntity.md) | Optional|
|
||||||
|parse\_mode| [string](../types/string.md) | Optional |
|
|parse\_mode| [string](../types/string.md) | Optional |
|
||||||
|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Optional|
|
|geo\_point|[CLICK ME InputGeoPoint](../types/InputGeoPoint.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
@ -11,7 +11,7 @@ description: messages.faveSticker parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|id|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | Optional|
|
|id|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | Optional|
|
||||||
|unfave|[Bool](../types/Bool.md) | Yes|
|
|unfave|[CLICK ME Bool](../types/Bool.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -10,12 +10,12 @@ description: messages.forwardMessages parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|silent|[Bool](../types/Bool.md) | Optional|
|
|silent|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|background|[Bool](../types/Bool.md) | Optional|
|
|background|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|with\_my\_score|[Bool](../types/Bool.md) | Optional|
|
|with\_my\_score|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|grouped|[Bool](../types/Bool.md) | Optional|
|
|grouped|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|from\_peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|from\_peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|id|Array of [int](../types/int.md) | Yes|
|
|id|Array of [CLICK ME int](../types/int.md) | Yes|
|
||||||
|to\_peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|to\_peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ description: messages.getAllChats parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|except\_ids|Array of [int](../types/int.md) | Yes|
|
|except\_ids|Array of [CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_Chats](../types/messages_Chats.md)
|
### Return type: [messages\_Chats](../types/messages_Chats.md)
|
||||||
|
@ -10,7 +10,7 @@ description: messages.getAllStickers parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|hash|[int](../types/int.md) | Yes|
|
|hash|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_AllStickers](../types/messages_AllStickers.md)
|
### Return type: [messages\_AllStickers](../types/messages_AllStickers.md)
|
||||||
|
@ -10,9 +10,9 @@ description: messages.getArchivedStickers parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|masks|[Bool](../types/Bool.md) | Optional|
|
|masks|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|offset\_id|[long](../types/long.md) | Yes|
|
|offset\_id|[CLICK ME long](../types/long.md) | Yes|
|
||||||
|limit|[int](../types/int.md) | Yes|
|
|limit|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md)
|
### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md)
|
||||||
|
@ -10,7 +10,7 @@ description: messages.getAttachedStickers parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|media|[InputStickeredMedia](../types/InputStickeredMedia.md) | Yes|
|
|media|[CLICK ME InputStickeredMedia](../types/InputStickeredMedia.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Vector\_of\_StickerSetCovered](../types/StickerSetCovered.md)
|
### Return type: [Vector\_of\_StickerSetCovered](../types/StickerSetCovered.md)
|
||||||
|
@ -10,10 +10,10 @@ description: messages.getBotCallbackAnswer parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|game|[Bool](../types/Bool.md) | Optional|
|
|game|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|msg\_id|[int](../types/int.md) | Yes|
|
|msg\_id|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|data|[bytes](../types/bytes.md) | Optional|
|
|data|[CLICK ME bytes](../types/bytes.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md)
|
### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md)
|
||||||
|
@ -10,7 +10,7 @@ description: messages.getChats parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|id|Array of [int](../types/int.md) | Yes|
|
|id|Array of [CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_Chats](../types/messages_Chats.md)
|
### Return type: [messages\_Chats](../types/messages_Chats.md)
|
||||||
|
@ -11,8 +11,8 @@ description: messages.getCommonChats parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
||||||
|max\_id|[int](../types/int.md) | Yes|
|
|max\_id|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|limit|[int](../types/int.md) | Yes|
|
|limit|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_Chats](../types/messages_Chats.md)
|
### Return type: [messages\_Chats](../types/messages_Chats.md)
|
||||||
|
@ -10,8 +10,8 @@ description: messages.getDhConfig parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|version|[int](../types/int.md) | Yes|
|
|version|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|random\_length|[int](../types/int.md) | Yes|
|
|random\_length|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_DhConfig](../types/messages_DhConfig.md)
|
### Return type: [messages\_DhConfig](../types/messages_DhConfig.md)
|
||||||
|
@ -10,11 +10,11 @@ description: messages.getDialogs parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|exclude\_pinned|[Bool](../types/Bool.md) | Optional|
|
|exclude\_pinned|[CLICK ME Bool](../types/Bool.md) | Optional|
|
||||||
|offset\_date|[int](../types/int.md) | Yes|
|
|offset\_date|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|offset\_id|[int](../types/int.md) | Yes|
|
|offset\_id|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|offset\_peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|offset\_peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|limit|[int](../types/int.md) | Yes|
|
|limit|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_Dialogs](../types/messages_Dialogs.md)
|
### Return type: [messages\_Dialogs](../types/messages_Dialogs.md)
|
||||||
|
@ -10,9 +10,9 @@ description: messages.getDocumentByHash parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|sha256|[bytes](../types/bytes.md) | Yes|
|
|sha256|[CLICK ME bytes](../types/bytes.md) | Yes|
|
||||||
|size|[int](../types/int.md) | Yes|
|
|size|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|mime\_type|[string](../types/string.md) | Yes|
|
|mime\_type|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Document](../types/Document.md)
|
### Return type: [Document](../types/Document.md)
|
||||||
|
@ -10,7 +10,7 @@ description: messages.getFavedStickers parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|hash|[int](../types/int.md) | Yes|
|
|hash|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md)
|
### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md)
|
||||||
|
@ -10,7 +10,7 @@ description: messages.getFeaturedStickers parameters, return type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|hash|[int](../types/int.md) | Yes|
|
|hash|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md)
|
### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md)
|
||||||
|
@ -11,7 +11,7 @@ description: messages.getGameHighScores parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|id|[int](../types/int.md) | Yes|
|
|id|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,13 +11,13 @@ description: messages.getHistory parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|offset\_id|[int](../types/int.md) | Yes|
|
|offset\_id|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|offset\_date|[int](../types/int.md) | Yes|
|
|offset\_date|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|add\_offset|[int](../types/int.md) | Yes|
|
|add\_offset|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|limit|[int](../types/int.md) | Yes|
|
|limit|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|max\_id|[int](../types/int.md) | Yes|
|
|max\_id|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|min\_id|[int](../types/int.md) | Yes|
|
|min\_id|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|hash|[int](../types/int.md) | Yes|
|
|hash|[CLICK ME int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_Messages](../types/messages_Messages.md)
|
### Return type: [messages\_Messages](../types/messages_Messages.md)
|
||||||
|
@ -12,9 +12,9 @@ description: messages.getInlineBotResults parameters, return type and example
|
|||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|bot|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
|bot|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
||||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||||
|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Optional|
|
|geo\_point|[CLICK ME InputGeoPoint](../types/InputGeoPoint.md) | Optional|
|
||||||
|query|[string](../types/string.md) | Yes|
|
|query|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|offset|[string](../types/string.md) | Yes|
|
|offset|[CLICK ME string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_BotResults](../types/messages_BotResults.md)
|
### Return type: [messages\_BotResults](../types/messages_BotResults.md)
|
||||||
|
@ -10,7 +10,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Yes|
|
|id|[CLICK ME InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Yes|
|
||||||
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user