Description Usage Arguments Details Value Examples
View source: R/get_rocket_room_exists.R
get_rocket_room_exists
Validates whether a room exists
1 | get_rocket_room_exists(url, user_id, auth_token, room_id)
|
url |
The url of the rocket.chat server (has to be complete, with http or https). |
user_id |
The users ID retrieved from 'get_rocket_credentials'. |
auth_token |
The users authentication Token retrieved from 'get_rocket_credentials'. |
room_id |
The id of the room to be checked |
This function returns a logical response to whether a room exists or not
The return of this function is a boolean
1 2 3 4 5 6 7 | ## Not run:
get_rocket_room_exists(url = 'http://localhost:8000/',
user_id = '<ROCKET_USER_ID>',
auth_token = '<ROCKET_USER_AUTH_TOKEN>',
room_id = '<ROOM_ID>')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.