app.didpic.chat.findOrCreateConversation
Start a conversation, or return an existing 1:1 with the same person.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | chat.didpic.app |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.participantDids.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.conversationIdNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Start a conversation, or return an existing 1:1 with the same person.",
"errors": [
{
"name": "Blocked"
},
{
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"participantDids": {
"items": {
"type": "string"
},
"maxLength": 9,
"minLength": 1,
"type": "array"
}
},
"required": [
"participantDids"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"conversationId": {
"type": "string"
},
"created": {
"description": "False if an existing conversation was reused.",
"type": "boolean"
}
},
"required": [
"conversationId",
"created"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.didpic.chat.findOrCreateConversation",
"lexicon": 1
}