social.colibri.actor.setState
Sets the authenticated user's online presence state.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | actor.colibri.social |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.stateNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.onlineStateNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Sets the authenticated user's online presence state.",
"errors": [
{
"description": "Missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "The given state is not one of the accepted values.",
"name": "InvalidState"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"onlineState": {
"type": "string"
}
},
"required": [
"onlineState"
],
"type": "object"
}
},
"parameters": {
"properties": {
"state": {
"description": "The presence state to set.",
"knownValues": [
"online",
"away",
"dnd",
"offline"
],
"type": "string"
}
},
"required": [
"state"
],
"type": "params"
},
"type": "procedure"
}
},
"id": "social.colibri.actor.setState",
"lexicon": 1
}