| mx_send_event | R Documentation |
Generic counterpart to mx_send for event types other than
m.room.message, such as m.room.encrypted. The content is
sent verbatim.
mx_send_event(session, room_id, event_type, content, txn_id = NULL)
session |
An "mx_session" object. |
room_id |
Character. The room ID. |
event_type |
Character. The event type, e.g.
|
content |
List. The event content, sent as-is. |
txn_id |
Character or NULL. Transaction id (generated if NULL). |
The event ID of the sent event.
## Not run:
mx_send_event(s, "!abc:example", "m.room.encrypted", encrypted_content)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.