View Source GoogleApi.Chat.V1.Model.Reaction (google_api_chat v0.34.3)

A reaction to a message.

Attributes

  • emoji (type: GoogleApi.Chat.V1.Model.Emoji.t, default: nil) - The emoji used in the reaction.
  • name (type: String.t, default: nil) - The resource name of the reaction. Format: spaces/{space}/messages/{message}/reactions/{reaction}
  • user (type: GoogleApi.Chat.V1.Model.User.t, default: nil) - Output only. The user who created the reaction.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.Reaction{
  emoji: GoogleApi.Chat.V1.Model.Emoji.t() | nil,
  name: String.t() | nil,
  user: GoogleApi.Chat.V1.Model.User.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.