EDA.Activity (EDA v0.3.0)

Copy Markdown View Source

Represents a Discord presence activity.

Summary

Types

t()

@type t() :: %EDA.Activity{
  application_id: String.t() | nil,
  assets: map() | nil,
  buttons: [map()] | nil,
  created_at: integer() | nil,
  details: String.t() | nil,
  emoji: EDA.Emoji.t() | nil,
  flags: integer() | nil,
  instance: boolean() | nil,
  name: String.t() | nil,
  party: map() | nil,
  secrets: map() | nil,
  state: String.t() | nil,
  timestamps: map() | nil,
  type: integer() | nil,
  url: String.t() | nil
}

Functions

from_raw(raw)

@spec from_raw(map()) :: t()