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 A chat space where memberships are free to change. Messages in rooms are threaded.
DM 1:1 Direct Message between a human and a bot, where all messages are flat.

Methods

get

Returns a space.

list

Lists spaces the caller is a member of.