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

A reaction to a message.

Attributes

  • emoji (type: GoogleApi.Chat.V1.Model.Emoji.t, default: nil) - Required. The emoji used in the reaction.
  • name (type: String.t, default: nil) - Identifier. 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

t()

@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

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.