MadelineProtoDocs/docs/TD_docs/methods/deleteChannel.md

880 B

title description image
deleteChannel Deletes channel along with all messages in corresponding chat. Releases channel username and removes all members. Needs creator privileges in the channel. Channels with more than 1000 members can't be deleted https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Method: deleteChannel

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Deletes channel along with all messages in corresponding chat. Releases channel username and removes all members. Needs creator privileges in the channel. Channels with more than 1000 members can't be deleted

Parameters:

Name Type Description Required
channel_id int Identifier of the channel Yes

Return type: Ok