appBskyContactSendNotification top-level constant
app.bsky.contact.sendNotification
Implementation
const appBskyContactSendNotification = <String, dynamic>{
"lexicon": 1,
"id": "app.bsky.contact.sendNotification",
"defs": {
"main": {
"type": "procedure",
"description":
"System endpoint to send notifications related to contact imports. Requires role authentication.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["from", "to"],
"properties": {
"from": {
"type": "string",
"format": "did",
"description": "The DID of who this notification comes from.",
},
"to": {
"type": "string",
"format": "did",
"description": "The DID of who this notification should go to.",
},
},
},
},
"output": {
"encoding": "application/json",
"schema": {"type": "object", "properties": {}},
},
},
},
};