chat.yakka.toggleReaction

yakka.chat

Documentation

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.

main procedure

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.

Input

Encodingapplication/json
Schema#input

Output

Encodingapplication/json
Schema#output

Errors

MessageNotFound
ChannelForbidden
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "ref": "#input",
      "type": "ref"
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "MessageNotFound"
    },
    {
      "name": "ChannelForbidden"
    }
  ],
  "output": {
    "schema": {
      "ref": "#output",
      "type": "ref"
    },
    "encoding": "application/json"
  },
  "description": "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."
}
input object

No description available.

Properties

emoji string Required

No description available.

maxGraphemes: 8 graphemes
uri string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

View raw schema
{
  "type": "object",
  "required": [
    "uri",
    "emoji"
  ],
  "properties": {
    "uri": {
      "type": "string",
      "format": "at-uri"
    },
    "emoji": {
      "type": "string",
      "maxGraphemes": 8
    }
  }
}
output object

No description available.

Properties

mine boolean Required

Whether the viewer now reacts with this emoji — the state after the toggle, so a client need not guess which way it went.

View raw schema
{
  "type": "object",
  "required": [
    "mine"
  ],
  "properties": {
    "mine": {
      "type": "boolean",
      "description": "Whether the viewer now reacts with this emoji — the state after the toggle, so a client need not guess which way it went."
    }
  }
}

Lexicon Garden

@