View Source ExTDLib.Method.DeleteChat (ExTDLib v0.0.4)

Deletes a chat along with all messages in the corresponding chat for all chat members. For group chats this will release the usernames and remove all members. Use the field chat.can_be_deleted_for_all_users to find whether the method can be applied to the chat. Returns object_ptr<Ok>.

NameTypeDescription
chat_idstringChat identifier.

More details on telegram's documentation.