1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 09:27:20 +01:00
MadelineProto/docs/TD_docs/methods/deleteChannel.md

814 B

title description
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

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 Required Description
channel_id CLICK ME int Yes Identifier of the channel

Return type: Ok