Crux vdev Crux.Structs.Reaction View Source

Represents a Discord Reaction Object.

Link to this section Summary

Functions

Creates a Crux.Structs.Presence struct from raw data.

Link to this section Types

Link to this type

t() View Source (since 0.1.0)
t() :: %Crux.Structs.Reaction{
  count: integer(),
  emoji: Crux.Structs.Emoji.t(),
  me: boolean()
}

Link to this section Functions

Link to this function

create(data) View Source (since 0.1.0)
create(data :: map()) :: t()

Creates a Crux.Structs.Presence struct from raw data.

Automatically invoked by Crux.Structs.create/2.