Rate this page:

Messages: send, edit, delete

This article will teach you how to send, edit, and delete messages in an Voximplant IM conversation.

Contents

Copy URL

Send a message

Copy URL

Use the sendMessage method to send a message to a conversation.

To receive messages, handle the message sending events. Take a look on how we implement it in the code:

Send a message

Send a message

Edit a message

Copy URL

Use the Message.update method to edit your message.

With default permissions, users can edit own messages only. Users with the canEditAll permissions can also edit others' messages.

Info

To track changes of other messages, you have to subscribe to the didEditMessage / onEditMessage and didRemoveMessage / onRemoveMessage

Edit a message

Edit a message

Delete a message

Copy URL

Use the Message.remove method to delete a message from the conversation.

With default permissions, users can delete own messages only. Users with the canRemoveAll permissions can also delete others' messages.

Info

To track changes of other messages, you have to subscribe to the didEditMessage / onEditMessage and didRemoveMessage / onRemoveMessage

Delete a message

Delete a message

Download our demos

Copy URL

Here you can download our instant messaging demos for multiple platforms for your instance: