mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +00:00
2.7 KiB
2.7 KiB
1 | id | message |
---|---|---|
2 | AUTH_KEY_DUPLICATED | The same authorization key (session file) was used in more than one place simultaneously. You must delete your session file and log in again with your phone number or bot token |
3 | BANNED_RIGHTS_INVALID | You provided some invalid flags in the banned rights. |
4 | BOT_PRECHECKOUT_FAILED | Bot precheckout is failed |
5 | CALL_PROTOCOL_COMPAT_LAYER_INVALID | The other side of the call does not support any of the VoIP protocols supported by the local client, as specified by the `protocol.layer` and `protocol.library_versions` fields. |
6 | CHANNEL_PRIVATE | The channel/supergroup is not accessible |
7 | CHANNEL_TOO_LARGE | Сhannel is too large to be deleted. Contact support for removal |
8 | CHAT_FORWARDS_RESTRICTED | You can't forward messages from a protected chat |
9 | FILEREF_UPGRADE_NEEDED | The file reference has expired and you must use a refreshed one by obtaining the original media message |
10 | FRESH_CHANGE_ADMINS_FORBIDDEN | You were just elected admin, you can't add or modify other admins yet |
11 | FRESH_CHANGE_PHONE_FORBIDDEN | You can't change your phone number because your session was logged-in recently |
12 | FRESH_RESET_AUTHORISATION_FORBIDDEN | You can't terminate other authorized sessions because the current was logged-in recently |
13 | GIFTCODE_NOT_ALLOWED | Giftcode not allowed |
14 | INVITE_HASH_EXPIRED | The chat the user tried to join has expired and is not valid anymore |
15 | PAYMENT_UNSUPPORTED | A detailed description of the error will be received separately as described [here »](https://core.telegram.org/api/errors#406-not-acceptable). |
16 | PHONE_NUMBER_INVALID | The phone number is invalid |
17 | PHONE_PASSWORD_FLOOD | You have tried to log-in too many times |
18 | PREMIUM_CURRENTLY_UNAVAILABLE | Premium currently unavailable |
19 | PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_XMIN | Similar to a flood wait, must wait {value} minutes |
20 | PRIVACY_PREMIUM_REQUIRED | You need a [Telegram Premium subscription](https://core.telegram.org/api/premium) to send a message to this user. |
21 | SEND_CODE_UNAVAILABLE | Returned when all available options for this type of number were already used (e.g. flash-call, then SMS, then this error might be returned to trigger a second resend) |
22 | STICKERSET_INVALID | The sticker set is invalid |
23 | STICKERSET_OWNER_ANONYMOUS | This sticker set can't be used as the group's sticker set because it was created by one of its anonymous admins |
24 | TOPIC_CLOSED | This topic was closed, you can't send messages to it anymore. |
25 | TOPIC_DELETED | The specified topic was deleted. |
26 | UPDATE_APP_TO_LOGIN | Update app to login |
27 | USERPIC_PRIVACY_REQUIRED | You need to disable privacy settings for your profile picture in order to make your geolocation public |
28 | USERPIC_UPLOAD_REQUIRED | You must have a profile picture to publish your geolocation |
29 | USER_RESTRICTED | You are limited/restricted. You can't perform this action |