delete_channel()

async 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)