Update docs
This commit is contained in:
parent
7414ae3e53
commit
ddb2e4f769
@ -13,7 +13,7 @@ Cancel password recovery email
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Confirm password recovery using email
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Finish account exporting session
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Get all secure telegram passport values
|
||||
|
||||
### Return type: [Vector\_of\_SecureValue](../types/SecureValue.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -20,7 +20,7 @@ Bots only: get telegram passport authorization form
|
||||
|
||||
### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Get autodownload settings
|
||||
|
||||
### Return type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Contact signup notification setting value
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -19,7 +19,7 @@ Get notification exceptions
|
||||
|
||||
### Return type: [Updates](../types/Updates.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Get wallpaper info
|
||||
|
||||
### Return type: [WallPaper](../types/WallPaper.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Get telegram web login authorizations
|
||||
|
||||
### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -24,7 +24,7 @@ Start account exporting session
|
||||
|
||||
### Return type: [account\_Takeout](../types/account_Takeout.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -19,7 +19,7 @@ Install wallpaper
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Resend password recovery email
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Reset wallpapers
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Delete a certain telegram web login authorization
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Reset all telegram web login authorizations
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -20,7 +20,7 @@ Save autodownload settings
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -19,7 +19,7 @@ Save telegram passport secure value
|
||||
|
||||
### Return type: [SecureValue](../types/SecureValue.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -20,7 +20,7 @@ Save wallpaper
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Send email verification code
|
||||
|
||||
### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -19,7 +19,7 @@ Send phone verification code
|
||||
|
||||
### Return type: [auth\_SentCode](../types/auth_SentCode.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Set contact sign up notification
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -48,7 +48,7 @@ User = account.updateProfile({first_name='string', last_name='string', about='st
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|ABOUT_TOO_LONG|The provided bio is too long|
|
||||
|ABOUT_TOO_LONG|About string too long|
|
||||
|FIRSTNAME_INVALID|The first name is invalid|
|
||||
|
||||
|
||||
|
@ -20,7 +20,7 @@ Upload wallpaper
|
||||
|
||||
### Return type: [WallPaper](../types/WallPaper.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -19,7 +19,7 @@ Verify email address
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -20,7 +20,7 @@ Verify phone number
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -41,6 +41,6 @@ Bool = auth.resetAuthorizations({})
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -19,7 +19,7 @@ Delete the history of a supergroup/channel
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -48,7 +48,7 @@ Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, admin_rig
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|ADMINS_TOO_MUCH|Too many admins|
|
||||
|ADMINS_TOO_MUCH|There are too many admins|
|
||||
|BOT_CHANNELS_NA|Bots can't edit admin privileges|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|
@ -20,7 +20,7 @@ Edit creator of channel
|
||||
|
||||
### Return type: [Updates](../types/Updates.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -20,7 +20,7 @@ Edit location (geochats)
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -48,6 +48,5 @@ messages_Chats = channels.getChannels({id={InputChannel}, })
|
||||
|----------|---------------|
|
||||
|CHANNEL_INVALID|The provided channel is invalid|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|NEED_CHAT_INVALID|The provided chat is invalid|
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@ Get groups for discussion
|
||||
|
||||
### Return type: [messages\_Chats](../types/messages_Chats.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Get all channels you left
|
||||
|
||||
### Return type: [messages\_Chats](../types/messages_Chats.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -54,7 +54,6 @@ channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, f
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|
||||
|MSGID_DECREASE_RETRY|IDK TBH|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -19,7 +19,7 @@ Set discussion group of channel
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -19,7 +19,7 @@ Enable or disable hidden history for new channel/supergroup users
|
||||
|
||||
### Return type: [Updates](../types/Updates.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Accept contact
|
||||
|
||||
### Return type: [Updates](../types/Updates.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -22,7 +22,7 @@ Add contact
|
||||
|
||||
### Return type: [Updates](../types/Updates.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -46,7 +46,6 @@ Updates = contacts.deleteContacts({id={InputUser}, })
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|NEED_MEMBER_INVALID|The provided member is invalid|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -18,7 +18,7 @@ Get contacts by IDs
|
||||
|
||||
### Return type: [Vector\_of\_int](../types/int.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Get people nearby (geochats)
|
||||
|
||||
### Return type: [Updates](../types/Updates.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Get saved contacts
|
||||
|
||||
### Return type: [Vector\_of\_SavedContact](../types/SavedContact.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -42,6 +42,5 @@ Vector_of_ContactStatus = contacts.getStatuses({})
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login|
|
||||
|MSGID_DECREASE_RETRY|IDK TBH|
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@ Reset saved contacts
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -49,6 +49,6 @@ contacts_Found = contacts.search({q='string', limit=int, })
|
||||
|----------|---------------|
|
||||
|QUERY_TOO_SHORT|The query string is too short|
|
||||
|SEARCH_QUERY_EMPTY|The search query is empty|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -18,7 +18,7 @@ Toggle top peers
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Delete folder
|
||||
|
||||
### Return type: [Updates](../types/Updates.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Accept telegram's TOS
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Get app config
|
||||
|
||||
### Return type: [JSONValue](../types/JSONValue.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -42,7 +42,6 @@ CdnConfig = help.getCdnConfig({})
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|AUTH_KEY_PERM_EMPTY|The temporary auth key must be binded to the permanent auth key to use these methods.|
|
||||
|MSGID_DECREASE_RETRY|IDK TBH|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -42,6 +42,6 @@ Config = help.getConfig({})
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|AUTH_KEY_DUPLICATED|An auth key with the same ID was already generated|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -18,7 +18,7 @@ Get deep link info
|
||||
|
||||
### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Get passport config
|
||||
|
||||
### Return type: [help\_PassportConfig](../types/help_PassportConfig.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Get information about the current proxy
|
||||
|
||||
### Return type: [help\_ProxyData](../types/help_ProxyData.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Get recent t.me URLs
|
||||
|
||||
### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Get support name
|
||||
|
||||
### Return type: [help\_SupportName](../types/help_SupportName.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Get updated TOS
|
||||
|
||||
### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Get user info
|
||||
|
||||
### Return type: [help\_UserInfo](../types/help_UserInfo.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -57,8 +57,7 @@ X = invokeWithLayer({layer=int, query=!X, })
|
||||
|INPUT_LAYER_INVALID|The provided layer is invalid|
|
||||
|INVITE_HASH_EXPIRED|The invite link has expired|
|
||||
|AUTH_KEY_DUPLICATED|An auth key with the same ID was already generated|
|
||||
|NEED_MEMBER_INVALID|The provided member is invalid|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -19,7 +19,7 @@ Get language
|
||||
|
||||
### Return type: [LangPackLanguage](../types/LangPackLanguage.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -21,7 +21,7 @@ Accept URL authorization
|
||||
|
||||
### Return type: [UrlAuthResult](../types/UrlAuthResult.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Clear all drafts
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -43,3 +43,10 @@ Or, if you're into Lua:
|
||||
Bool = messages.editChatAbout({peer=InputPeer, about='string', })
|
||||
```
|
||||
|
||||
### Errors this method can return:
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|
||||
|
||||
|
@ -43,3 +43,10 @@ Or, if you're into Lua:
|
||||
Updates = messages.editChatDefaultBannedRights({peer=InputPeer, banned_rights=ChatBannedRights, })
|
||||
```
|
||||
|
||||
### Errors this method can return:
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|
||||
|
||||
|
@ -48,6 +48,6 @@ Updates = messages.editChatTitle({chat_id=InputPeer, title='string', })
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||
|NEED_CHAT_INVALID|The provided chat is invalid|
|
||||
|CHAT_TITLE_EMPTY|No chat title provided|
|
||||
|
||||
|
||||
|
@ -19,7 +19,7 @@ Add a sticker to favorites
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -67,14 +67,10 @@ Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=
|
||||
|USER_IS_BLOCKED|User is blocked|
|
||||
|USER_IS_BOT|Bots can't send messages to other bots|
|
||||
|YOU_BLOCKED_USER|You blocked this user|
|
||||
|MSGID_DECREASE_RETRY|IDK TBH|
|
||||
|NEED_MEMBER_INVALID|The provided member is invalid|
|
||||
|PTS_CHANGE_EMPTY|No PTS change|
|
||||
|RANDOM_ID_DUPLICATE|You provided a random ID that was already used|
|
||||
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -53,6 +53,6 @@ messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=Inpu
|
||||
|DATA_INVALID|Encrypted data invalid|
|
||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@ Get dialogs marked as unread manually
|
||||
|
||||
### Return type: [Vector\_of\_DialogPeer](../types/DialogPeer.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -55,7 +55,6 @@ messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offs
|
||||
|INPUT_CONSTRUCTOR_INVALID|The provided constructor is invalid|
|
||||
|OFFSET_PEER_ID_INVALID|The provided offset peer is invalid|
|
||||
|SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login|
|
||||
|MSGID_DECREASE_RETRY|IDK TBH|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -18,7 +18,7 @@ Get emoji keywords
|
||||
|
||||
### Return type: [EmojiKeywordsDifference](../types/EmojiKeywordsDifference.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -19,7 +19,7 @@ Get emoji keyword difference
|
||||
|
||||
### Return type: [EmojiKeywordsDifference](../types/EmojiKeywordsDifference.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Get emoji URL
|
||||
|
||||
### Return type: [EmojiURL](../types/EmojiURL.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Get favorite stickers
|
||||
|
||||
### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -48,6 +48,7 @@ messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_i
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|USER_BOT_REQUIRED|This method can only be called by a bot|
|
||||
|
||||
|
@ -59,6 +59,6 @@ messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_d
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|AUTH_KEY_DUPLICATED|An auth key with the same ID was already generated|
|
||||
|AUTH_KEY_PERM_EMPTY|The temporary auth key must be binded to the permanent auth key to use these methods.|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -53,6 +53,6 @@ messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPee
|
||||
|BOT_INLINE_DISABLED|This bot can't be used in inline mode|
|
||||
|BOT_INVALID|This is not a valid bot|
|
||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -18,7 +18,7 @@ Get online users
|
||||
|
||||
### Return type: [ChatOnlines](../types/ChatOnlines.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -19,7 +19,7 @@ Get poll results
|
||||
|
||||
### Return type: [Updates](../types/Updates.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -20,7 +20,7 @@ Get recent locations
|
||||
|
||||
### Return type: [messages\_Messages](../types/messages_Messages.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -13,7 +13,7 @@ Get message ranges to fetch
|
||||
|
||||
### Return type: [Vector\_of\_MessageRange](../types/MessageRange.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -20,7 +20,7 @@ Get stats URL
|
||||
|
||||
### Return type: [StatsURL](../types/StatsURL.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -19,7 +19,7 @@ Get stickers
|
||||
|
||||
### Return type: [messages\_Stickers](../types/messages_Stickers.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -18,7 +18,7 @@ Hide peer settings bar
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -19,7 +19,7 @@ Mark dialog as unread
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -19,7 +19,7 @@ Mark messages as read in secret chats
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -48,6 +48,6 @@ messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, })
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -18,7 +18,7 @@ Mark mentions as read
|
||||
|
||||
### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -20,7 +20,7 @@ Request URL authorization
|
||||
|
||||
### Return type: [UrlAuthResult](../types/UrlAuthResult.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -20,7 +20,7 @@ Find a sticker set
|
||||
|
||||
### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -19,7 +19,7 @@ Send message to secret chat
|
||||
|
||||
### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -20,7 +20,7 @@ Send a file to a secret chat
|
||||
|
||||
### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -19,7 +19,7 @@ Send a service message to a secret chat
|
||||
|
||||
### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -121,10 +121,8 @@ MadelineProto supports all html entities supported by [html_entity_decode](http:
|
||||
|USER_IS_BOT|Bots can't send messages to other bots|
|
||||
|WEBPAGE_CURL_FAILED|Failure while fetching the webpage with cURL|
|
||||
|WEBPAGE_MEDIA_EMPTY|Webpage media empty|
|
||||
|RANDOM_ID_DUPLICATE|You provided a random ID that was already used|
|
||||
|STORAGE_CHECK_FAILED|Server storage check failed|
|
||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -121,11 +121,7 @@ MadelineProto supports all html entities supported by [html_entity_decode](http:
|
||||
|USER_IS_BOT|Bots can't send messages to other bots|
|
||||
|YOU_BLOCKED_USER|You blocked this user|
|
||||
|AUTH_KEY_DUPLICATED|An auth key with the same ID was already generated|
|
||||
|MSGID_DECREASE_RETRY|IDK TBH|
|
||||
|NEED_MEMBER_INVALID|The provided member is invalid|
|
||||
|RANDOM_ID_DUPLICATE|You provided a random ID that was already used|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|tanti SALUTI da peppe lg .|Ciao da un pony|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
@ -51,6 +51,7 @@ Updates = messages.setGameScore({edit_message=Bool, force=Bool, peer=InputPeer,
|
||||
|
||||
| Error | Description |
|
||||
|----------|---------------|
|
||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||
|USER_BOT_REQUIRED|This method can only be called by a bot|
|
||||
|
||||
|
@ -54,7 +54,6 @@ Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, })
|
||||
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|
||||
|USER_IS_BLOCKED|User is blocked|
|
||||
|USER_IS_BOT|Bots can't send messages to other bots|
|
||||
|MSGID_DECREASE_RETRY|IDK TBH|
|
||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||
|
||||
|
||||
|
@ -19,7 +19,7 @@ Upload a secret chat file without sending it to anyone
|
||||
|
||||
### Return type: [EncryptedFile](../types/EncryptedFile.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
### Can bots use this method: **NO**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
@ -48,9 +48,6 @@ Vector_of_User = users.getUsers({id={InputUser}, })
|
||||
|----------|---------------|
|
||||
|AUTH_KEY_PERM_EMPTY|The temporary auth key must be binded to the permanent auth key to use these methods.|
|
||||
|SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login|
|
||||
|MEMBER_NO_LOCATION|An internal failure occurred while fetching user info (couldn't find location)|
|
||||
|MSGID_DECREASE_RETRY|IDK TBH|
|
||||
|NEED_MEMBER_INVALID|The provided member is invalid|
|
||||
|Timeout|A timeout occurred while fetching data from the bot|
|
||||
|Timeout|Timeout while fetching data|
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user