Add ServerError: [500] CHAT_GET_FAILED

This commit is contained in:
Devesh Pal 2023-06-06 22:23:00 +05:30 committed by GitHub
parent c3bddf9440
commit 470ee9a06a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,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

1 name codes description
81 CHAT_DISCUSSION_UNALLOWED 400
82 CHAT_FORBIDDEN 403 You cannot write in this chat
83 CHAT_FORWARDS_RESTRICTED 400 406 You can't forward messages from a protected chat
84 CHAT_GET_FAILED 500
85 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
86 CHAT_ID_EMPTY 400 The provided chat ID is empty
87 CHAT_ID_GENERATE_FAILED 500 Failure while generating the chat ID