| mx_react | R Documentation |
Posts an m.reaction event tying key (usually a thumbs-up or
other emoji) to event_id. Matrix reactions are plain events
under the hood; they relate to the target via m.annotation.
mx_react(session, room_id, event_id, key)
session |
An "mx_session" object. |
room_id |
Character. The room ID. |
event_id |
Character. The event being reacted to. |
key |
Character. The reaction key (usually an emoji). |
The event ID of the sent reaction.
## Not run:
mx_react(s, "!abc:matrix.example", "$eventid", "thumbs-up")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.