mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +00:00
4aa7fc49ef
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
3.5 KiB
3.5 KiB
1 | id | message |
---|---|---|
2 | ANONYMOUS_REACTIONS_DISABLED | Sorry, anonymous administrators cannot leave reactions or participate in polls. |
3 | BROADCAST_FORBIDDEN | The request can't be used in channels |
4 | CHANNEL_PUBLIC_GROUP_NA | The channel/supergroup is not available |
5 | CHAT_ADMIN_INVITE_REQUIRED | You don't have rights to invite other users |
6 | CHAT_ADMIN_REQUIRED | The method requires chat admin privileges |
7 | CHAT_FORBIDDEN | You cannot write in this chat |
8 | CHAT_GUEST_SEND_FORBIDDEN | You need to join the discussion group before commenting |
9 | CHAT_SEND_AUDIOS_FORBIDDEN | You can't send audio messages in this chat |
10 | CHAT_SEND_DOCS_FORBIDDEN | You can't send documents in this chat. |
11 | CHAT_SEND_GAME_FORBIDDEN | You can't send a game to this chat |
12 | CHAT_SEND_GIFS_FORBIDDEN | You can't send animations in this chat |
13 | CHAT_SEND_INLINE_FORBIDDEN | You cannot use inline bots to send messages in this chat |
14 | CHAT_SEND_MEDIA_FORBIDDEN | You can't send media messages in this chat |
15 | CHAT_SEND_PHOTOS_FORBIDDEN | You can't send photos in this chat |
16 | CHAT_SEND_PLAIN_FORBIDDEN | You can't send non-media (text) messages in this chat |
17 | CHAT_SEND_POLL_FORBIDDEN | You can't send polls in this chat |
18 | CHAT_SEND_ROUNDVIDEOS_FORBIDDEN | You cannot send video notes in this chat |
19 | CHAT_SEND_STICKERS_FORBIDDEN | You can't send stickers in this chat |
20 | CHAT_SEND_VIDEOS_FORBIDDEN | You can't send videos in this chat |
21 | CHAT_SEND_VOICES_FORBIDDEN | You can't send voice recordings in this chat |
22 | CHAT_WRITE_FORBIDDEN | You don't have rights to send messages in this chat |
23 | EDIT_BOT_INVITE_FORBIDDEN | Bots' chat invite links can't be edited |
24 | GROUPCALL_ALREADY_STARTED | The groupcall has already started, you can join directly using phone.joinGroupCall |
25 | GROUPCALL_FORBIDDEN | The group call has already ended |
26 | INLINE_BOT_REQUIRED | The action must be performed through an inline bot callback |
27 | LIVE_DISABLED | Story is disabled server-side |
28 | MESSAGE_AUTHOR_REQUIRED | You are not the author of this message |
29 | MESSAGE_DELETE_FORBIDDEN | You don't have rights to delete messages in this chat, most likely because you are not the author of them |
30 | NOT_ALLOWED | Not allowed |
31 | NOT_ELIGIBLE | You are not eligible for this action |
32 | PARTICIPANT_JOIN_MISSING | Trying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall |
33 | POLL_VOTE_REQUIRED | Cast a vote in the poll before calling this method |
34 | PREMIUM_ACCOUNT_REQUIRED | This action requires a premium account |
35 | PRIVACY_PREMIUM_REQUIRED | The user has restricted from sending messages or this action requires a premium account |
36 | PUBLIC_CHANNEL_MISSING | You can only export group call invite links for public chats or channels |
37 | 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) |
38 | SENSITIVE_CHANGE_FORBIDDEN | Your sensitive content settings can't be changed at this time |
39 | TAKEOUT_REQUIRED | The method must be invoked inside a takeout session |
40 | USER_BOT_INVALID | This method can only be called by a bot |
41 | USER_CHANNELS_TOO_MUCH | One of the users you tried to add is already in too many channels/supergroups |
42 | USER_DELETED | You can't send this secret message because the other participant deleted their account |
43 | USER_INVALID | The provided user is invalid |
44 | USER_IS_BLOCKED | The user is blocked |
45 | USER_NOT_MUTUAL_CONTACT | The provided user is not a mutual contact |
46 | USER_PRIVACY_RESTRICTED | The user's privacy settings is preventing you to perform this action |
47 | USER_RESTRICTED | You are limited/restricted. You can't perform this action |
48 | VOICE_MESSAGES_FORBIDDEN | This user's privacy settings forbid you from sending voice messages. |