Duvet DOCS
GitHub

Reaction Resource

A reaction represents an emoji reaction on a message. Standard emoji reactions store the Unicode character directly in emoji_name, while custom emoji reactions store the custom emoji UUID.

Message Reaction Object

FieldTypeDescription
emoji_name stringUnicode emoji character (e.g. "🔥") or custom emoji UUID
emoji_id ?string?Custom emoji attachment ID (null for standard emoji)
count integerNumber of users who reacted with this emoji
users string[]Array of user IDs who reacted

Example

[
  {
    "emoji_name": "🔥",
    "emoji_id": null,
    "count": 3,
    "users": [
      "019cf96a-3d5b-72c5-830f-75e85355d078",
      "019cf96a-4e2a-73b1-9a0f-2b8c5d1e7f34",
      "019cf96a-5c3d-74e2-a1b3-8d4f6e2a9c01"
    ]
  },
  {
    "emoji_name": "019cf96a-8e5f-76a4-c3d5-0f6b2c4e8a93",
    "emoji_id": "019cf96a-9f70-77b5-d4e6-1a7c3d5f9b04",
    "count": 1,
    "users": [
      "019cf96a-3d5b-72c5-830f-75e85355d078"
    ]
  }
]