chat.yakka.toggleReaction
Add or remove the viewer's reaction to a message. A reaction is a record in the viewer's own repo, so this creates or deletes one — there is no shared counter to increment, and the count a client renders is the appview's tally of records it has ingested.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | yakka.chat |
| Indexed |
Procedure
procedure · POSTErrors
MessageNotFound
No description in schema.
ChannelForbidden
No description in schema.
#input
object#output
objectProperties
Whether the viewer now reacts with this emoji — the state after the toggle, so a client need not guess which way it went.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
app.didpic.chat.setReaction
procedureReact to a message with a single emoji.
-
chat.sprk.convo.addReaction
procedureAdds an emoji reaction to a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in a single reaction.
-
chat.bsky.convo.addReaction
procedureAdds an emoji reaction to a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in a single reaction.
-
chat.sprk.convo.removeReaction
procedureRemoves an emoji reaction from a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in that reaction not being present, even if it already wasn't.
-
chat.bsky.convo.removeReaction
procedureRemoves an emoji reaction from a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in that reaction not being present, even if it already wasn't.