chat.bsky.moderation.subscribeModEvents

bsky-lexicons.bsky.social

Documentation

Subscribe to stream of chat events targeted to moderation. Private endpoint.

main subscription

Subscribe to stream of chat events targeted to moderation. Private endpoint.

Parameters

cursor string Optional

The last known event seq number to backfill from. Use '2222222222222' to backfill from the beginning. Don't specify a cursor to listen only for new events.

Message Types

Errors

FutureCursor
ConsumerTooSlow If the consumer of the stream can not keep up with events, and a backlog gets too large, the server will drop the connection.
View raw schema
{
  "type": "subscription",
  "errors": [
    {
      "name": "FutureCursor"
    },
    {
      "name": "ConsumerTooSlow",
      "description": "If the consumer of the stream can not keep up with events, and a backlog gets too large, the server will drop the connection."
    }
  ],
  "message": {
    "schema": {
      "refs": [
        "#eventConvoFirstMessage"
      ],
      "type": "union"
    }
  },
  "parameters": {
    "type": "params",
    "properties": {
      "cursor": {
        "type": "string",
        "description": "The last known event seq number to backfill from. Use '2222222222222' to backfill from the beginning. Don't specify a cursor to listen only for new events."
      }
    }
  },
  "description": "Subscribe to stream of chat events targeted to moderation. Private endpoint."
}
eventConvoFirstMessage object

No description available.

Properties

convoId string Required

No description available.

createdAt string datetime Required

An RFC 3339 formatted timestamp.

messageId string Optional

No description available.

recipients array of stringdid Required

The list of DIDs message recipients. Does not include the sender, which is in the `user` field

rev string Required

No description available.

user string did Required

The DID of the message author.

View raw schema
{
  "type": "object",
  "required": [
    "createdAt",
    "rev",
    "convoId",
    "user",
    "recipients"
  ],
  "properties": {
    "rev": {
      "type": "string"
    },
    "user": {
      "type": "string",
      "format": "did",
      "description": "The DID of the message author."
    },
    "convoId": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "datetime"
    },
    "messageId": {
      "type": "string"
    },
    "recipients": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "did"
      },
      "description": "The list of DIDs message recipients. Does not include the sender, which is in the `user` field"
    }
  }
}

Lexicon Garden

@