Optional
params: { Optional
maxMaximum ID of message to delete.
Deletion mode. Can be:
delete
: delete messages (only for yourself) AND the dialog itselfclear
: delete messages (only for yourself), but keep the dialog in the listrevoke
: delete messages for all users
Delete communication history (for private chats and legacy groups)