hipchat_create_room: Create a new Hipchat room. (Must have privileges)

Description Usage Arguments Value Examples

View source: R/room.R

Description

Create a new Hipchat room. (Must have privileges)

Usage

1
2
hipchat_create_room(room_name, topic = NULL, guest_access = FALSE,
  owner_user, privacy = "public", api_token = hipchat_api_token())

Arguments

room_name

character. Room name. Maximum 100 characters.

topic

character. Topic name (optional).

guest_access

logical. Whether or not to enable guest access for this room. By default, FALSE.

owner_user

character or logical. The id, email address, or mention name (beginning with an @) of the room's owner. Defaults to the current user. (Optional)

privacy

character. Whether the room is available for access by other users or not. Must be either 'public' or 'private' (default is 'public').

api_token

character. By default, hipchat_api_token().

Value

the id of the newly created room.

Examples

1
2
3
4
## Not run: 
  hipchat_create_room('A new private room', 'With a new topic', privacy = 'private')

## End(Not run)

robertzk/hipchat documentation built on May 27, 2019, 10:34 a.m.