DeleteMessage
Parameters
message
The message to be deleted.
hard
Determines whether the message will be soft or hard deleted.
Soft delete - Deletes the message on the client side but it remains available via server-side export functions. Hard delete - message is deleted everywhere.