Channel that the message is in.
Fired when the properties or the body of the message have been updated.
Parameters:
data
- info object provided with the event. It has the following properties:Custom attributes of the message.
Name of the user that sent the message.
Body of the message. Null if the message is a media message.
Date this message was created on.
Date this message was last updated on.
Index of the message in the channel's messages list. By design of the Programmable Chat system, the message indices may have arbitrary gaps between them, that does not necessarily mean they were deleted or otherwise modified - just that messages may have some non-contiguous indices even if they are being sent immediately one after another.
Trying to use indices for some calculations is going to be unreliable.
To calculate the number of unread messages it is better to use the read horizon API. See Channel.getUnconsumedMessagesCount for details.
Identity of the last user that updated the message.
Media information (if present).
The server-assigned unique identifier of the authoring member.
The server-assigned unique identifier for the message.
Push notification type of the message.
Get the member who is the author of the message.
Remove the message.
Edit the message attributes.
New attributes.
Edit the message body.
New body of the message.
A message in a channel.