telegram api method · layer 92 · #49609307
channels.toggleInvites
not in the latest layer 229: last defined in layer 92
definition
channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates;
parameters
| name | type | description |
|---|---|---|
channel | InputChannel | |
enabled | Bool |
returns
errors (3)
| code | error | description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | CHAT_ADMIN_REQUIRED | You must be an admin in this chat to do this. |
| 400 | CHAT_NOT_MODIFIED | No changes were made to chat information because the new information you passed is identical to the current information. |
history
present in layers 62–92
| id | layers |
|---|---|
| #49609307 | 62–92 |