REST Resource: spaces

Resource: Space

A room or DM in Hangouts Chat.

JSON representation
{
  "name": string,
  "type": enum(Type),
  "displayName": string
}
Fields
name

string

Resource name of the space, in the form "spaces/*".

Example: spaces/AAAAMpdlehYs

type

enum(Type)

Output only. The type of a space.

displayName

string

Output only. The display name (only if the space is a room).

Type

The type of a space.

Enums
TYPE_UNSPECIFIED
ROOM
DM

Methods

get

Returns a space.

list

Lists spaces the caller is a member of.

Send feedback about...

Hangouts Chat API
Hangouts Chat API
Need help? Visit our support page.