| mx_room_invite | R Documentation |
Invitation at creation time is covered by mx_room_create();
this covers the other common lifecycle case, inviting into an
existing room.
mx_room_invite(session, room_id, user_id)
session |
An "mx_session" object. |
room_id |
Character. The room ID. |
user_id |
Character. The Matrix ID to invite. |
Invisibly TRUE on success.
## Not run:
mx_room_invite(s, "!abc:example", "@friend:example.org")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.