Add 400 CHANNEL_ADD_INVALID error (#894)

* Add RPC Error: CHANNEL_ADD_INVALID

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
This commit is contained in:
Sam 2022-02-13 18:37:43 +08:00 committed by GitHub
parent d9d7a867b5
commit 54f8ca25fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,7 @@ CALL_PROTOCOL_FLAGS_INVALID Call protocol flags invalid
CDN_METHOD_INVALID The method can't be used on CDN DCs
CHANNELS_ADMIN_PUBLIC_TOO_MUCH You are an administrator of too many public channels
CHANNELS_TOO_MUCH You have joined too many channels or supergroups, leave some and try again
CHANNEL_ADD_INVALID Internal error.
CHANNEL_BANNED The channel is banned
CHANNEL_INVALID The channel parameter is invalid
CHANNEL_PRIVATE The channel/supergroup is not accessible
@ -348,4 +349,4 @@ WEBDOCUMENT_URL_EMPTY The web document URL is empty
WEBDOCUMENT_URL_INVALID The web document URL is invalid
WEBPAGE_CURL_FAILED Telegram server could not fetch the provided URL
WEBPAGE_MEDIA_EMPTY The URL doesn't contain any valid media
YOU_BLOCKED_USER You blocked this user
YOU_BLOCKED_USER You blocked this user

1 id message
45 CDN_METHOD_INVALID The method can't be used on CDN DCs
46 CHANNELS_ADMIN_PUBLIC_TOO_MUCH You are an administrator of too many public channels
47 CHANNELS_TOO_MUCH You have joined too many channels or supergroups, leave some and try again
48 CHANNEL_ADD_INVALID Internal error.
49 CHANNEL_BANNED The channel is banned
50 CHANNEL_INVALID The channel parameter is invalid
51 CHANNEL_PRIVATE The channel/supergroup is not accessible
349 WEBDOCUMENT_URL_INVALID The web document URL is invalid
350 WEBPAGE_CURL_FAILED Telegram server could not fetch the provided URL
351 WEBPAGE_MEDIA_EMPTY The URL doesn't contain any valid media
352 YOU_BLOCKED_USER You blocked this user