mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 17:09:05 +00:00
2.0 KiB
2.0 KiB
1 | id | message |
---|---|---|
2 | BROADCAST_FORBIDDEN | The request can't be used in channels |
3 | CHANNEL_PUBLIC_GROUP_NA | The channel/supergroup is not available |
4 | CHAT_ADMIN_INVITE_REQUIRED | You don't have rights to invite other users |
5 | CHAT_ADMIN_REQUIRED | The method requires chat admin privileges |
6 | CHAT_FORBIDDEN | You cannot write in this chat |
7 | CHAT_SEND_GIFS_FORBIDDEN | You can't send animations in this chat |
8 | CHAT_SEND_INLINE_FORBIDDEN | You cannot use inline bots to send messages in this chat |
9 | CHAT_SEND_MEDIA_FORBIDDEN | You can't send media messages in this chat |
10 | CHAT_SEND_POLL_FORBIDDEN | You can't send polls in this chat |
11 | CHAT_SEND_STICKERS_FORBIDDEN | You can't send stickers in this chat |
12 | CHAT_WRITE_FORBIDDEN | You don't have rights to send messages in this chat |
13 | EDIT_BOT_INVITE_FORBIDDEN | Bots' chat invite links can't be edited |
14 | INLINE_BOT_REQUIRED | The action must be performed through an inline bot callback |
15 | MESSAGE_AUTHOR_REQUIRED | You are not the author of this message |
16 | MESSAGE_DELETE_FORBIDDEN | You don't have rights to delete messages in this chat, most likely because you are not the author of them |
17 | POLL_VOTE_REQUIRED | Cast a vote in the poll before calling this method |
18 | PREMIUM_ACCOUNT_REQUIRED | This action requires a premium account |
19 | RIGHT_FORBIDDEN | You don't have enough rights for this action, or you tried to set one or more admin rights that can't be applied to this kind of chat (channel or supergroup) |
20 | SENSITIVE_CHANGE_FORBIDDEN | Your sensitive content settings can't be changed at this time |
21 | TAKEOUT_REQUIRED | The method must be invoked inside a takeout session |
22 | USER_BOT_INVALID | This method can only be called by a bot |
23 | USER_CHANNELS_TOO_MUCH | One of the users you tried to add is already in too many channels/supergroups |
24 | USER_INVALID | The provided user is invalid |
25 | USER_IS_BLOCKED | The user is blocked |
26 | USER_NOT_MUTUAL_CONTACT | The provided user is not a mutual contact |
27 | USER_PRIVACY_RESTRICTED | The user's privacy settings is preventing you to perform this action |
28 | USER_RESTRICTED | You are limited/restricted. You can't perform this action |