TDLib v0.0.2 TDLib.Method.DeleteSupergroup View Source

Deletes a supergroup or channel along with all messages in the corresponding chat. This will release the supergroup or channel username and remove all members; requires creator privileges in the supergroup or channel. Chats with more than 1000 members can’t be deleted using this method. Returns object_ptr.

NameTypeDescription
supergroup_idnumberIdentifier of the supergroup or channel.

More details on telegram’s documentation.