# place.stream.chat.defs

> Published by [did:web:iame.li](https://lexicon.garden/identity/did:web:iame.li)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:iame.li/place.stream.chat.defs)
- [Documentation](https://lexicon.garden/lexicon/did:web:iame.li/place.stream.chat.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:iame.li/place.stream.chat.defs/examples)

## Definitions

### `place.stream.chat.defs#messageView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `author` | `ref` → `app.bsky.actor.defs#profileViewBasic` | Yes |  |
| `record` | `unknown` | Yes |  |
| `deleted` | `boolean` | No | If true, this message has been deleted or labeled and should be cleared from the cache |
| `replyTo` | `union` | No |  |
| `indexedAt` | `string` (datetime) | Yes |  |
| `chatProfile` | `ref` → `place.stream.chat.profile` | No |  |

## Raw Schema

```json
{
  "id": "place.stream.chat.defs",
  "defs": {
    "messageView": {
      "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"
        },
        "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"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
