get_rocket_room_exists: Validates whether a room exists or not

Description Usage Arguments Details Value Examples

View source: R/get_rocket_room_exists.R

Description

get_rocket_room_exists Validates whether a room exists

Usage

1
get_rocket_room_exists(url, user_id, auth_token, room_id)

Arguments

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

Details

This function returns a logical response to whether a room exists or not

Value

The return of this function is a boolean

Examples

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)

paeselhz/rocketeer documentation built on Nov. 11, 2019, 1:23 a.m.