org.swappulse.directMessage

bridge.swappulse.org

Documentation

A direct message in a conversation.

main record

A direct message in a conversation.

Record Key tid Timestamp-based ID

Properties

authorAvatar string uri Optional

A valid URI.

authorDid string did Optional

A decentralized identifier (DID).

authorHandle string Optional

No description available.

authorName string Optional

No description available.

body string Required

No description available.

maxLength: 2000 bytes
conversationId string Optional

No description available.

conversationRef string at-uri Optional

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

createdAt string datetime Required

An RFC 3339 formatted timestamp.

read boolean Optional

No description available.

recipientDid string did Required

A decentralized identifier (DID).

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "recipientDid",
      "body",
      "createdAt"
    ],
    "properties": {
      "body": {
        "type": "string",
        "maxLength": 2000
      },
      "read": {
        "type": "boolean"
      },
      "authorDid": {
        "type": "string",
        "format": "did"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "authorName": {
        "type": "string"
      },
      "authorAvatar": {
        "type": "string",
        "format": "uri"
      },
      "authorHandle": {
        "type": "string"
      },
      "recipientDid": {
        "type": "string",
        "format": "did"
      },
      "conversationId": {
        "type": "string"
      },
      "conversationRef": {
        "type": "string",
        "format": "at-uri"
      }
    }
  },
  "description": "A direct message in a conversation."
}

Lexicon Garden

@