Delete a message
You can delete a message by calling DeleteMessage and including a message with an ID. Messages can be soft deleted or hard deleted. Unless specified via the hard parameter, messages are soft deleted. Be aware that deleting a message doesnβt delete its attachments.
stream-cli chat delete-message [message-id] [flags]
# Soft deletes a message with id 'msgid-1'
$ stream-cli chat delete-message msgid-1
# Hard deletes a message with id 'msgid-2'
$ stream-cli chat delete-message msgid-2 --hard
-H, --hard [optional] Hard delete message. Default is false
-h, --help help for delete-message
--app string [optional] Application name to use as it's defined in the configuration file
--config string [optional] Explicit config file path