pyrogram/compiler/errors/source/406_NOT_ACCEPTABLE.tsv
KurimuzonAkuma 4aa7fc49ef Add some errors to known errors
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
2024-08-07 02:06:57 +03:00

2.6 KiB
Raw Blame History

1idmessage
2AUTH_KEY_DUPLICATEDThe 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
3BANNED_RIGHTS_INVALIDYou provided some invalid flags in the banned rights.
4CALL_PROTOCOL_COMPAT_LAYER_INVALIDThe 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.
5CHANNEL_PRIVATEThe channel/supergroup is not accessible
6CHANNEL_TOO_LARGEСhannel is too large to be deleted. Contact support for removal
7CHAT_FORWARDS_RESTRICTEDYou can't forward messages from a protected chat
8FILEREF_UPGRADE_NEEDEDThe file reference has expired and you must use a refreshed one by obtaining the original media message
9FRESH_CHANGE_ADMINS_FORBIDDENYou were just elected admin, you can't add or modify other admins yet
10FRESH_CHANGE_PHONE_FORBIDDENYou can't change your phone number because your session was logged-in recently
11FRESH_RESET_AUTHORISATION_FORBIDDENYou can't terminate other authorized sessions because the current was logged-in recently
12GIFTCODE_NOT_ALLOWEDGiftcode not allowed
13INVITE_HASH_EXPIREDThe chat the user tried to join has expired and is not valid anymore
14PAYMENT_UNSUPPORTEDA detailed description of the error will be received separately as described [here &raquo;](https://core.telegram.org/api/errors#406-not-acceptable).
15PHONE_NUMBER_INVALIDThe phone number is invalid
16PHONE_PASSWORD_FLOODYou have tried to log-in too many times
17PREMIUM_CURRENTLY_UNAVAILABLEPremium currently unavailable
18PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_XMINSimilar to a flood wait, must wait {value} minutes
19PRIVACY_PREMIUM_REQUIREDYou need a [Telegram Premium subscription](https://core.telegram.org/api/premium) to send a message to this user.
20SEND_CODE_UNAVAILABLEReturned 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)
21STICKERSET_INVALIDThe sticker set is invalid
22STICKERSET_OWNER_ANONYMOUSThis sticker set can't be used as the group's sticker set because it was created by one of its anonymous admins
23TOPIC_CLOSEDThis topic was closed, you can't send messages to it anymore.
24TOPIC_DELETEDThe specified topic was deleted.
25UPDATE_APP_TO_LOGINUpdate app to login
26USERPIC_PRIVACY_REQUIREDYou need to disable privacy settings for your profile picture in order to make your geolocation public
27USERPIC_UPLOAD_REQUIREDYou must have a profile picture to publish your geolocation
28USER_RESTRICTEDYou are limited/restricted. You can't perform this action