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. You can also use chat public link in form of t.me/<username> (str).

Returns:

bool – On success, True is returned.

Example

await app.delete_channel(channel_id)