delete_channel()#
- Client.delete_channel()#
Delete a channel.
Usable by Users Bots- Parameters:
chat_id (
int
|str
) – The id of the channel to be deleted.- Returns:
bool
– On success, True is returned.
Example
await app.delete_channel(channel_id)
Delete a channel.
chat_id (int
| str
) – The id of the channel to be deleted.
bool
– On success, True is returned.
Example
await app.delete_channel(channel_id)