add new error

This commit is contained in:
Shrimadhav U K 2021-09-11 13:14:32 +05:30 committed by GitHub
parent f106dab647
commit 93c36cec3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,7 @@ CHAT_SEND_INLINE_FORBIDDEN,400,You cannot send inline results in this chat
CHAT_SEND_MEDIA_FORBIDDEN,403,You can't send media in this chat CHAT_SEND_MEDIA_FORBIDDEN,403,You can't send media in this chat
CHAT_SEND_STICKERS_FORBIDDEN,403,You can't send stickers in this chat CHAT_SEND_STICKERS_FORBIDDEN,403,You can't send stickers in this chat
CHAT_TITLE_EMPTY,400,No chat title provided CHAT_TITLE_EMPTY,400,No chat title provided
CHAT_TOO_BIG,400,
CHAT_WRITE_FORBIDDEN,403,You can't write in this chat CHAT_WRITE_FORBIDDEN,403,You can't write in this chat
CHP_CALL_FAIL,500,The statistics cannot be retrieved at this time CHP_CALL_FAIL,500,The statistics cannot be retrieved at this time
CODE_EMPTY,400,The provided code is empty CODE_EMPTY,400,The provided code is empty

1 name codes description
77 CHAT_SEND_MEDIA_FORBIDDEN 403 You can't send media in this chat
78 CHAT_SEND_STICKERS_FORBIDDEN 403 You can't send stickers in this chat
79 CHAT_TITLE_EMPTY 400 No chat title provided
80 CHAT_TOO_BIG 400
81 CHAT_WRITE_FORBIDDEN 403 You can't write in this chat
82 CHP_CALL_FAIL 500 The statistics cannot be retrieved at this time
83 CODE_EMPTY 400 The provided code is empty