delete_chat_history


Description:

public async Ok delete_chat_history (int64 chat_id, bool remove_from_chat_list, bool revoke) throws TDLibError

Deletes all messages in the chat. Use chat.can_be_deleted_only_for_self and chat.can_be_deleted_for_all_users fields to find whether and how the method can be applied to the chat

Parameters:

chat_id

Chat identifier

remove_from_chat_list

Pass true to remove the chat from all chat lists

revoke

Pass true to delete chat history for all users