AnnouncementReaction

public struct AnnouncementReaction : Codable, Hashable

Represents an emoji reaction to an Announcement.

  • Undocumented

    Declaration

    Swift

    public init(name: String, count: Int, me: Bool, url: String? = nil, staticUrl: String? = nil)
  • The emoji used for the reaction. Either a unicode emoji, or a custom emoji’s shortcode.

    Declaration

    Swift

    public var name: String
  • The total number of users who have added this reaction.

    Declaration

    Swift

    public var count: Int
  • me

    Whether the authorized user has added this reaction to the announcement.

    Declaration

    Swift

    public var me: Bool
  • url

    A link to the custom emoji.

    Declaration

    Swift

    public var url: String?
  • A link to a non-animated version of the custom emoji.

    Declaration

    Swift

    public var staticUrl: String?