Skip to content

Commit fd69f45

Browse files
committed
Add CHAT_SEND_MEDIA_FORBIDDEN and INVITE_HASH_EXPIRED error
1 parent 944b672 commit fd69f45

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

compiler/error/source/400_BAD_REQUEST.tsv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,5 @@ EXTERNAL_URL_INVALID The external media URL is invalid
9696
CHAT_NOT_MODIFIED The chat settings were not modified
9797
RESULTS_TOO_MUCH The result contains too many items
9898
RESULT_ID_DUPLICATE The result contains items with duplicated identifiers
99-
ACCESS_TOKEN_INVALID The bot access token is invalid
99+
ACCESS_TOKEN_INVALID The bot access token is invalid
100+
INVITE_HASH_EXPIRED The chat invite link is no longer valid

compiler/error/source/403_FORBIDDEN.tsv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ id message
22
CHAT_WRITE_FORBIDDEN You don't have rights to send messages in this chat
33
RIGHT_FORBIDDEN One or more admin rights can't be applied to this kind of chat (channel/supergroup)
44
CHAT_ADMIN_INVITE_REQUIRED You don't have rights to invite other users
5-
MESSAGE_DELETE_FORBIDDEN You don't have rights to delete messages in this chat
5+
MESSAGE_DELETE_FORBIDDEN You don't have rights to delete messages in this chat
6+
CHAT_SEND_MEDIA_FORBIDDEN You can't send media messages in this chat

0 commit comments

Comments
 (0)