Editing and Deleting Messages
Edit
You can only perform edit operations on messages you've sent. Once the operation is complete, the message's editedAt
will be set to the current time. This allows you to provide UI to the user to inform the user of specific messages that have been edited, if needed.
Currently, the Chat SDK has only 2 editable data types, TEXT
and CUSTOM
Delete
You can only perform delete operations on messages you've sent. To delete a message, simply call delete()
on AmityMessage
Last updated