| mx_session | R Documentation |
Reconstruct a session from saved credentials
mx_session(server, token, user_id, device_id)
server |
Character. Homeserver base URL. |
token |
Character. Access token from a prior login. |
user_id |
Character. Full Matrix ID (e.g. "@troy:example.org"). |
device_id |
Character. Device id from the prior login. |
An object of class "mx_session".
s <- mx_session(
server = "https://matrix.example",
token = "syt_...",
user_id = "@alice:matrix.example",
device_id = "ABC123"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.