Resource: Space
A room or DM in Google Chat.
JSON representation | |
---|---|
{
"name": string,
"type": enum ( |
Fields | |
---|---|
name |
Resource name of the space, in the form "spaces/*". Example: spaces/AAAAMpdlehYs |
type |
Output only. The type of a space. This is deprecated. Use |
singleUserBotDm |
Whether the space is a DM between a bot and a single human. |
threaded |
Whether the messages are threaded in this space. |
displayName |
Output only. The display name (only if the space is a room). Please note that this field might not be populated in direct messages between humans. |
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 |
|
---|---|
|
Returns a space. |
|
Lists spaces the caller is a member of. |