Skip to content

A reaction on a message ​

reactionMessage({ itemId, reactionType, emoji?, ... }) builds the message; DirectBroadcast sends it to a conversation. Reacts, un-reacts or updates the reaction on one message; the emoji of a like is ❤.

On a message of a conversation the tray's reaction is the message's own react({ emoji }), and the emoji is one of the tray's six: ❤, 😂, 😮, 😢, 😡 and 👍 — react({ emoji: '❤' }) sends the heart, react({ emoji: '😂' }) the laughter, and the rest send the same way.

Every tray reaction is reaction_type=like with the emoji the tray shows, from the tray (reaction_action_source=emoji_tray). reactionMessage defaults reaction_action_source to emoji_tray — the source the app's message menu sends; a caller may name another source. A double tap on a message sends nothing in the app, so the Simulator models no double-tap action: the reaction is the tray's react({ emoji }).

The reaction tray over a messageThe tray: the emoji the person picks.

The heart on a messagereact({ emoji: '❤' }).

The laughing reactionreact({ emoji: '😂' }) on the same message.

The pages of this site are the README files of the repository. The API reference is generated from the source.