app.didpic.chat.setReaction
React to a message with a single emoji.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | chat.didpic.app |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.messageIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.reactionNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "React to a message with a single emoji.",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "TooManyReactions"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"messageId": {
"type": "string"
},
"reaction": {
"type": "string"
}
},
"required": [
"messageId",
"reaction"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"reactions": {
"items": {
"ref": "app.didpic.chat.defs#reactionSummary",
"type": "ref"
},
"type": "array"
}
},
"required": [
"reactions"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.didpic.chat.setReaction",
"lexicon": 1
}