GoogleApi.Chat.V1.Model.Membership (google_api_chat v0.19.2) View Source

Represents a membership relation in Hangouts Chat.

Attributes

  • createTime (type: DateTime.t, default: nil) - The creation time of the membership a.k.a the time at which the member joined the space, if applicable.
  • member (type: GoogleApi.Chat.V1.Model.User.t, default: nil) - Member details.
  • name (type: String.t, default: nil) - Resource name of the membership, in the form "spaces//members/". Example: spaces/AAAAMpdlehY/members/105115627578887013105
  • state (type: String.t, default: nil) - State of the membership.

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.Membership{
  createTime: DateTime.t(),
  member: GoogleApi.Chat.V1.Model.User.t(),
  name: String.t(),
  state: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.