Skip to content

deleteChannel

Sahri Riza Umami edited this page Dec 8, 2016 · 3 revisions

Deletes channel along with all messages in corresponding chat.

deleteChannel(channel_id)

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

Option Description
channel_id Identifier of the channel.

Example

Deletes channel 1234567890.

deleteChannel(1234567890)

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally