DeleteChatHistory constructor

DeleteChatHistory(
  1. {required int chat_id,
  2. required bool remove_from_chat_list,
  3. required bool revoke,
  4. int? extra,
  5. int? clientId}
)

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

Returns Ok

Implementation

DeleteChatHistory