place.stream.chat.defs

did:web:stream.place

Documentation

messageView object

No description available.

Properties

badges array of refplace.stream.badge.defs#badgeView Optional

Up to 3 badge tokens to display with the message. First badge is server-controlled, remaining badges are user-settable. Tokens are looked up in badges.json for display info.

maxLength: 3 items
cid string cid Required

A content identifier (CID) referencing immutable data.

deleted boolean Optional

If true, this message has been deleted or labeled and should be cleared from the cache

indexedAt string datetime Required

An RFC 3339 formatted timestamp.

record unknown Required

No description available.

replyTo union Optional

No description available.

Known types:
uri string at-uri Required

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

View raw schema
{
  "type": "object",
  "required": [
    "uri",
    "cid",
    "author",
    "record",
    "indexedAt"
  ],
  "properties": {
    "cid": {
      "type": "string",
      "format": "cid"
    },
    "uri": {
      "type": "string",
      "format": "at-uri"
    },
    "author": {
      "ref": "app.bsky.actor.defs#profileViewBasic",
      "type": "ref"
    },
    "badges": {
      "type": "array",
      "items": {
        "ref": "place.stream.badge.defs#badgeView",
        "type": "ref"
      },
      "maxLength": 3,
      "description": "Up to 3 badge tokens to display with the message. First badge is server-controlled, remaining badges are user-settable. Tokens are looked up in badges.json for display info."
    },
    "record": {
      "type": "unknown"
    },
    "deleted": {
      "type": "boolean",
      "description": "If true, this message has been deleted or labeled and should be cleared from the cache"
    },
    "replyTo": {
      "refs": [
        "#messageView"
      ],
      "type": "union"
    },
    "indexedAt": {
      "type": "string",
      "format": "datetime"
    },
    "chatProfile": {
      "ref": "place.stream.chat.profile",
      "type": "ref"
    }
  }
}
pinnedRecordView object

View of a pinned chat record with hydrated message data.

Properties

cid string cid Required

A content identifier (CID) referencing immutable data.

indexedAt string datetime Required

An RFC 3339 formatted timestamp.

message ref #messageView Optional

No description available.

uri string at-uri Required

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

View raw schema
{
  "type": "object",
  "required": [
    "uri",
    "cid",
    "record",
    "indexedAt"
  ],
  "properties": {
    "cid": {
      "type": "string",
      "format": "cid"
    },
    "uri": {
      "type": "string",
      "format": "at-uri"
    },
    "record": {
      "ref": "place.stream.chat.pinnedRecord",
      "type": "ref"
    },
    "message": {
      "ref": "#messageView",
      "type": "ref"
    },
    "pinnedBy": {
      "ref": "place.stream.chat.profile",
      "type": "ref"
    },
    "indexedAt": {
      "type": "string",
      "format": "datetime"
    }
  },
  "description": "View of a pinned chat record with hydrated message data."
}

Lexicon Garden

@