mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-21 17:06:36 +03:00
Document more RPC errors (#4127)
This commit is contained in:
parent
c3bddf9440
commit
65407fc899
|
@ -67,6 +67,7 @@ CHANNELS_ADMIN_LOCATED_TOO_MUCH,400,The user has reached the limit of public geo
|
|||
CHANNELS_ADMIN_PUBLIC_TOO_MUCH,400,"You're admin of too many public channels, make some channels private to change the username of this channel"
|
||||
CHANNELS_TOO_MUCH,400,You have joined too many channels/supergroups
|
||||
CHANNEL_BANNED,400,The channel is banned
|
||||
CHANNEL_FORUM_MISSING,400,
|
||||
CHANNEL_ID_INVALID,400,The specified supergroup ID is invalid
|
||||
CHANNEL_INVALID,400,"Invalid channel object. Make sure to pass the right types, for instance making sure that the request is designed for channels or otherwise look for a different one more suited"
|
||||
CHANNEL_PARICIPANT_MISSING,400,The current user is not in the channel
|
||||
|
@ -81,6 +82,7 @@ CHAT_ADMIN_REQUIRED,400 403,"Chat admin privileges are required to do that in th
|
|||
CHAT_DISCUSSION_UNALLOWED,400,
|
||||
CHAT_FORBIDDEN,403,You cannot write in this chat
|
||||
CHAT_FORWARDS_RESTRICTED,400 406,You can't forward messages from a protected chat
|
||||
CHAT_GET_FAILED,500,
|
||||
CHAT_GUEST_SEND_FORBIDDEN,403,"You join the discussion group before commenting, see [here](/api/discussion#requiring-users-to-join-the-group) for more info"
|
||||
CHAT_ID_EMPTY,400,The provided chat ID is empty
|
||||
CHAT_ID_GENERATE_FAILED,500,Failure while generating the chat ID
|
||||
|
|
|
Loading…
Reference in New Issue
Block a user