Events

Toggle chat reaction

Changed on

Body: { emoji }. Toggles the viewer's reaction on a game-thread message in this gameId. New pills must be one emoji grapheme (RGI, or a text-style / emoji-presentation variant), at most 64 UTF-16 units, stored exactly as sent (no FE0F folding). At most 20 distinct pills per message; joining an existing pill is allowed. Legacy stored values can still be toggled off. Codes: 400 VALIDATION_ERROR (blank), 400 INVALID_EMOJI, 404 NOT_FOUND (missing or wrong game), 409 MESSAGE_REMOVED, 409 REACTION_EMOJI_LIMIT, 429 RATE_LIMITED (20/10s burst and 120/10min sustained per user), 503 RATE_LIMITER_UNAVAILABLE. Each new unique user+message+emoji credits +1 Fan Rep once.

post/api/events/{gameId}/chat/{messageId}/react

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Path parameters

gameIdstring required
messageIdstring required

Response

{ success, data }

Changes