# me.cusee.chat

> Bounded per-member ring buffer of recent Talk Window chat messages.

- Kind: record
- Record key: literal:recent
- Authority: cusee.me
- Lexicon: 1
- Published by [solpbc.org](https://lexicon.garden/identity/did:plc:kg5hlfyrdjmtiyymo57n7dpg), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:kg5hlfyrdjmtiyymo57n7dpg/me.cusee.chat)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:kg5hlfyrdjmtiyymo57n7dpg/me.cusee.chat/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:kg5hlfyrdjmtiyymo57n7dpg/me.cusee.chat/analytics)

## Record (`me.cusee.chat`)

Type: record · key literal:recent

### Properties

- `messages` (array, required)
  - Constraints: maxLength: 16
  - `items` (ref)
    - Reference: `#message`
- `updatedAt` (string · datetime, required)

## #message (`me.cusee.chat#message`)

Type: object

### Properties

- `sentAt` (string · datetime, required)
- `text` (string, required)
  - Constraints: minLength: 1, maxLength: 600, maxGraphemes: 200
- `tid` (string · tid, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Bounded per-member ring buffer of recent Talk Window chat messages.",
      "key": "literal:recent",
      "record": {
        "properties": {
          "messages": {
            "items": {
              "ref": "#message",
              "type": "ref"
            },
            "maxLength": 16,
            "type": "array"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "messages",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "message": {
      "properties": {
        "sentAt": {
          "format": "datetime",
          "type": "string"
        },
        "text": {
          "maxGraphemes": 200,
          "maxLength": 600,
          "minLength": 1,
          "type": "string"
        },
        "tid": {
          "format": "tid",
          "type": "string"
        }
      },
      "required": [
        "tid",
        "text",
        "sentAt"
      ],
      "type": "object"
    }
  },
  "id": "me.cusee.chat",
  "lexicon": 1
}
```
