# chat.bsky.embed.joinLink

> Published by [bsky-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:4v4y5r3lwsbtmsxhile2ljac)

✓ This is the authoritative definition for this NSID.

## Description

A join link embedded in a chat message.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.embed.joinLink)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.embed.joinLink/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.embed.joinLink/examples)

## Definitions

### `chat.bsky.embed.joinLink`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `code` | `string` | Yes | The join link code. |

### `chat.bsky.embed.joinLink#view`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `joinLinkPreview` | `union` | Yes |  |

## Raw Schema

```json
{
  "id": "chat.bsky.embed.joinLink",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "code"
      ],
      "properties": {
        "code": {
          "type": "string",
          "description": "The join link code."
        }
      }
    },
    "view": {
      "type": "object",
      "required": [
        "joinLinkPreview"
      ],
      "properties": {
        "joinLinkPreview": {
          "refs": [
            "chat.bsky.group.defs#joinLinkPreviewView",
            "chat.bsky.group.defs#disabledJoinLinkPreviewView",
            "chat.bsky.group.defs#invalidJoinLinkPreviewView"
          ],
          "type": "union"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A join link embedded in a chat message."
}
```
