# at.ellich.chat.message

> Published by [brittanyellich.com](https://lexicon.garden/identity/did:plc:4hodhjl2kposuchzvpiviwps)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4hodhjl2kposuchzvpiviwps/at.ellich.chat.message)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4hodhjl2kposuchzvpiviwps/at.ellich.chat.message/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4hodhjl2kposuchzvpiviwps/at.ellich.chat.message/examples)

## Definitions

### `at.ellich.chat.message`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `mentions` | `array` | No |  |
| `replyTo` | `ref` → `lex:at.ellich.chat.message#strongRef` | No |  |
| `text` | `string` | Yes |  |

### `at.ellich.chat.message#strongRef`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "mentions": {
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 30,
            "type": "array"
          },
          "replyTo": {
            "ref": "lex:at.ellich.chat.message#strongRef",
            "type": "ref"
          },
          "text": {
            "maxLength": 16000,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "strongRef": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid"
      ],
      "type": "object"
    }
  },
  "id": "at.ellich.chat.message",
  "lexicon": 1
}
```
