google_api_chat v0.17.0 GoogleApi.Chat.V1.Model.Space View Source

A room or DM in Hangouts Chat.

Attributes

  • displayName (type: String.t, default: nil) - 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.

  • name (type: String.t, default: nil) - Resource name of the space, in the form "spaces/*".

    Example: spaces/AAAAMpdlehYs

  • singleUserBotDm (type: boolean(), default: nil) - Whether the space is a DM between a bot and a single human.

  • threaded (type: boolean(), default: nil) - Whether the messages are threaded in this space.

  • type (type: String.t, default: nil) - Output only. The type of a space. This is deprecated. Use single_user_bot_dm instead.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Chat.V1.Model.Space{
  displayName: String.t(),
  name: String.t(),
  singleUserBotDm: boolean(),
  threaded: boolean(),
  type: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.