| mx_get_account_data | R Documentation |
Reads a global account-data event for a user, e.g. "m.direct"
(the DM room map) or any custom namespaced type.
mx_get_account_data(session, type, user_id = session$user_id)
session |
An "mx_session" object. |
type |
Character. Event type, e.g. |
user_id |
Character. Defaults to the session's own user. |
The account-data content as a list, or NULL when the type has never been set.
## Not run:
direct <- mx_get_account_data(s, "m.direct")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.