REST Resource: spaces

Resource: Space

A room or DM in Hangouts Chat.

JSON representation
{
  "name": string,
  "type": enum (Type),
  "singleUserBotDm": boolean,
  "threaded": boolean,
  "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. This is deprecated. Use singleUserBotDm instead.

singleUserBotDm

boolean

Whether the space is a DM between a bot and a single human.

threaded

boolean

Whether the messages are threaded in this 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 Multi-user spaces such as rooms and DMs between humans.
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.