app.didpic.chat.sendMessage

lexicons.didpic.app

Documentation

Send a message into a conversation the caller participates in.

main procedure

Send a message into a conversation the caller participates in.

Input

Encodingapplication/json
conversationId string Required

No description available.

image object Optional

No description available.

linkPreview object Optional

No description available.

replyToMessageId string Optional

No description available.

sharedPostUri stringat-uri Optional

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

text string Optional

No description available.

Output

Encodingapplication/json

Errors

Blocked
InvalidRequest
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
{
  "description": "Send a message into a conversation the caller participates in.",
  "errors": [
    {
      "name": "Blocked"
    },
    {
      "name": "InvalidRequest"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "conversationId": {
          "type": "string"
        },
        "image": {
          "properties": {
            "height": {
              "minimum": 1,
              "type": "integer"
            },
            "key": {
              "type": "string"
            },
            "width": {
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "key",
            "width",
            "height"
          ],
          "type": "object"
        },
        "linkPreview": {
          "properties": {
            "description": {
              "maxLength": 500,
              "type": "string"
            },
            "imageHeight": {
              "minimum": 1,
              "type": "integer"
            },
            "imageKey": {
              "type": "string"
            },
            "imageWidth": {
              "minimum": 1,
              "type": "integer"
            },
            "title": {
              "maxLength": 300,
              "type": "string"
            },
            "url": {
              "format": "uri",
              "type": "string"
            }
          },
          "required": [
            "url"
          ],
          "type": "object"
        },
        "replyToMessageId": {
          "type": "string"
        },
        "sharedPostUri": {
          "format": "at-uri",
          "type": "string"
        },
        "text": {
          "type": "string"
        }
      },
      "required": [
        "conversationId"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "message": {
          "ref": "app.didpic.chat.defs#messageView",
          "type": "ref"
        }
      },
      "required": [
        "message"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@