delete_channel()

Client.delete_channel()

Delete a channel.

Parameters

chat_id (int | str) – The id of the channel to be deleted.

Returns

bool – On success, True is returned.

Example

app.delete_channel(channel_id)