Hunter.Announcement.Reaction (hunter v0.7.0)

Copy Markdown View Source

Announcement reaction entity

An emoji reaction attached to a Hunter.Announcement

Fields

  • name - the emoji used for the reaction, either a unicode emoji or a custom emoji's shortcode
  • count - the total number of users who have added this reaction
  • me - whether the authenticated user added this reaction (only with user token)
  • url - URL of the custom emoji, if the reaction is a custom emoji
  • static_url - static URL of the custom emoji, if the reaction is a custom emoji

Summary

Types

t()

@type t() :: %Hunter.Announcement.Reaction{
  count: non_neg_integer(),
  me: boolean() | nil,
  name: String.t(),
  static_url: String.t() | nil,
  url: String.t() | nil
}