Add CHAT_SEND_MEDIA_FORBIDDEN and INVITE_HASH_EXPIRED error

This commit is contained in:
Dan 2019-05-16 21:29:09 +02:00
parent 944b672fe5
commit fd69f45e98
2 changed files with 4 additions and 2 deletions

View File

@ -97,3 +97,4 @@ CHAT_NOT_MODIFIED The chat settings were not modified
RESULTS_TOO_MUCH The result contains too many items
RESULT_ID_DUPLICATE The result contains items with duplicated identifiers
ACCESS_TOKEN_INVALID The bot access token is invalid
INVITE_HASH_EXPIRED The chat invite link is no longer valid
1 id message
97 RESULTS_TOO_MUCH The result contains too many items
98 RESULT_ID_DUPLICATE The result contains items with duplicated identifiers
99 ACCESS_TOKEN_INVALID The bot access token is invalid
100 INVITE_HASH_EXPIRED The chat invite link is no longer valid

View File

@ -3,3 +3,4 @@ CHAT_WRITE_FORBIDDEN You don't have rights to send messages in this chat
RIGHT_FORBIDDEN One or more admin rights can't be applied to this kind of chat (channel/supergroup)
CHAT_ADMIN_INVITE_REQUIRED You don't have rights to invite other users
MESSAGE_DELETE_FORBIDDEN You don't have rights to delete messages in this chat
CHAT_SEND_MEDIA_FORBIDDEN You can't send media messages in this chat
1 id message
3 RIGHT_FORBIDDEN One or more admin rights can't be applied to this kind of chat (channel/supergroup)
4 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
6 CHAT_SEND_MEDIA_FORBIDDEN You can't send media messages in this chat