delete_chat


Description:

public async Ok delete_chat (int64 chat_id) throws TDLibError

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

Parameters:

chat_id

Chat identifier