OptionaljustOnly clear the history for the current user, without leaving the chat (private chats and small groups only).
OptionalmaxOnly delete messages sent before this date (private chats and small groups only).
OptionalmaxDelete only messages with IDs up to and including this one. Defaults to all.
OptionalminOnly delete messages sent after this date (private chats and small groups only).
OptionalrevokeDelete the history for the other side as well (private chats and small groups: revoke; channels and supergroups: forEveryone).
Parameters for TelegramClient.deleteHistory.