# place.pollen.post.chat

> A chat post. Conversations, dialogues, transcripts.

- Kind: record
- Record key: tid
- Authority: post.pollen.place
- Lexicon: 1
- Published by [keith.pollen.place](https://lexicon.garden/identity/did:plc:nwgfqqv7a56aicy3d3um37ch), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:nwgfqqv7a56aicy3d3um37ch/place.pollen.post.chat)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:nwgfqqv7a56aicy3d3um37ch/place.pollen.post.chat/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:nwgfqqv7a56aicy3d3um37ch/place.pollen.post.chat/analytics)

## Record (`place.pollen.post.chat`)

Type: record · key tid

### Properties

- `blueskyPostUri` (string · at-uri): AT URI of the cross-posted Bluesky post.
- `createdAt` (string · datetime, required): Client-declared timestamp when the post was created.
- `messages` (array, required): The conversation messages in order.
  - `items` (ref)
    - Reference: `#chatMessage`
- `tags` (array): Hashtags for discovery.
  - Constraints: maxLength: 10
  - `items` (string)
    - Constraints: maxLength: 64
- `title` (string): Optional title for the conversation.
  - Constraints: maxLength: 300

## #chatMessage (`place.pollen.post.chat#chatMessage`)

Type: object

A single message in a chat post.

### Properties

- `speaker` (string, required): Display name of the speaker.
  - Constraints: maxLength: 100
- `text` (string, required): The message content.
  - Constraints: maxLength: 2000

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "chatMessage": {
      "description": "A single message in a chat post.",
      "properties": {
        "speaker": {
          "description": "Display name of the speaker.",
          "maxLength": 100,
          "type": "string"
        },
        "text": {
          "description": "The message content.",
          "maxLength": 2000,
          "type": "string"
        }
      },
      "required": [
        "speaker",
        "text"
      ],
      "type": "object"
    },
    "main": {
      "description": "A chat post. Conversations, dialogues, transcripts.",
      "key": "tid",
      "record": {
        "properties": {
          "blueskyPostUri": {
            "description": "AT URI of the cross-posted Bluesky post.",
            "format": "at-uri",
            "type": "string"
          },
          "createdAt": {
            "description": "Client-declared timestamp when the post was created.",
            "format": "datetime",
            "type": "string"
          },
          "messages": {
            "description": "The conversation messages in order.",
            "items": {
              "ref": "#chatMessage",
              "type": "ref"
            },
            "type": "array"
          },
          "tags": {
            "description": "Hashtags for discovery.",
            "items": {
              "maxLength": 64,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "title": {
            "description": "Optional title for the conversation.",
            "maxLength": 300,
            "type": "string"
          }
        },
        "required": [
          "messages",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "place.pollen.post.chat",
  "lexicon": 1
}
```
