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

View File

@ -67,6 +67,7 @@ CHANNELS_ADMIN_LOCATED_TOO_MUCH,400,The user has reached the limit of public geo
CHANNELS_ADMIN_PUBLIC_TOO_MUCH,400,"You're admin of too many public channels, make some channels private to change the username of this channel" CHANNELS_ADMIN_PUBLIC_TOO_MUCH,400,"You're admin of too many public channels, make some channels private to change the username of this channel"
CHANNELS_TOO_MUCH,400,You have joined too many channels/supergroups CHANNELS_TOO_MUCH,400,You have joined too many channels/supergroups
CHANNEL_BANNED,400,The channel is banned CHANNEL_BANNED,400,The channel is banned
CHANNEL_FORUM_MISSING,400,
CHANNEL_ID_INVALID,400,The specified supergroup ID is invalid CHANNEL_ID_INVALID,400,The specified supergroup ID is invalid
CHANNEL_INVALID,400,"Invalid channel object. Make sure to pass the right types, for instance making sure that the request is designed for channels or otherwise look for a different one more suited" CHANNEL_INVALID,400,"Invalid channel object. Make sure to pass the right types, for instance making sure that the request is designed for channels or otherwise look for a different one more suited"
CHANNEL_PARICIPANT_MISSING,400,The current user is not in the channel CHANNEL_PARICIPANT_MISSING,400,The current user is not in the channel

1 name codes description
67 CHANNELS_ADMIN_PUBLIC_TOO_MUCH 400 You're admin of too many public channels, make some channels private to change the username of this channel
68 CHANNELS_TOO_MUCH 400 You have joined too many channels/supergroups
69 CHANNEL_BANNED 400 The channel is banned
70 CHANNEL_FORUM_MISSING 400
71 CHANNEL_ID_INVALID 400 The specified supergroup ID is invalid
72 CHANNEL_INVALID 400 Invalid channel object. Make sure to pass the right types, for instance making sure that the request is designed for channels or otherwise look for a different one more suited
73 CHANNEL_PARICIPANT_MISSING 400 The current user is not in the channel