This event is triggered when a user presses the message action button.
If your app enables this button, it will be provided next to every message. It will also be provided if a user selects multiple messages.
In addition to the chat in which the message action button was pressed, Flock also provides a list of messages uids for which the button was pressed. If your app needs more information about the messages, it should call the chat.fetchMessages method.
Optionally, Flock might provide the entire Message object alongwith the event itself, so you can skip calling chat.fetchMessages if the
messages attribute is present. Note that this attribute is strictly optional however (especially when many messages have been selected). Your app should not depend on the presence of this attribute.
|Attribute Name||Attribute Type||Attribute Description|
|String||Name of the user|
|String||Id of the user or group whose chat tab is open|
|String||Name of the user or group whose chat tab is open|
|Array||An array of message uids|
An array of Message objects. This is an optional attribute that may not always be present.
If present, this allows you to skip calling chat.fetchMessages.
Your app can respond with a
text value – this should be a short (upto 100 chars) string that is displayed to the user who pressed the button.