# BotCard

Defined in: [zaun/js/index.d.ts:170](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L170)

A bot's public card: every member can read what it was granted.

## Properties

### app\_id

> **app\_id**: `string`

Defined in: [zaun/js/index.d.ts:173](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L173)

***

### bot\_id

> **bot\_id**: `string`

Defined in: [zaun/js/index.d.ts:171](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L171)

***

### capabilities

> **capabilities**: `Required`\<`Omit`\<[`BotCapabilities`](/docs/reference/js/zaun-client/interfaces/botcapabilities/), `"local_network"`\>\> & `Pick`\<[`BotCapabilities`](/docs/reference/js/zaun-client/interfaces/botcapabilities/), `"local_network"`\>

Defined in: [zaun/js/index.d.ts:182](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L182)

***

### config?

> `optional` **config?**: `Record`\<`string`, [`BotConfigKey`](/docs/reference/js/zaun-client/interfaces/botconfigkey/)\>

Defined in: [zaun/js/index.d.ts:186](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L186)

The settings it declares, never their values (absent when none).

***

### description?

> `optional` **description?**: `string`

Defined in: [zaun/js/index.d.ts:175](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L175)

***

### events

> **events**: `string`[]

Defined in: [zaun/js/index.d.ts:184](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L184)

***

### granted\_at

> **granted\_at**: `number`

Defined in: [zaun/js/index.d.ts:190](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L190)

***

### installed\_at

> **installed\_at**: `number`

Defined in: [zaun/js/index.d.ts:187](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L187)

***

### installed\_by

> **installed\_by**: `string`

Defined in: [zaun/js/index.d.ts:188](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L188)

***

### kind

> **kind**: `"hosted"` \| `"external"`

Defined in: [zaun/js/index.d.ts:179](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L179)

***

### member\_id

> **member\_id**: `string`

Defined in: [zaun/js/index.d.ts:172](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L172)

***

### name

> **name**: `string`

Defined in: [zaun/js/index.d.ts:174](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L174)

***

### permissions

> **permissions**: `string`

Defined in: [zaun/js/index.d.ts:181](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L181)

***

### publisher

> **publisher**: `string`

Defined in: [zaun/js/index.d.ts:177](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L177)

***

### requested?

> `optional` **requested?**: `object`

Defined in: [zaun/js/index.d.ts:183](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L183)

#### capabilities

> **capabilities**: [`BotCapabilities`](/docs/reference/js/zaun-client/interfaces/botcapabilities/)

#### permissions

> **permissions**: `string`

***

### signed

> **signed**: `boolean`

Defined in: [zaun/js/index.d.ts:178](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L178)

***

### source?

> `optional` **source?**: [`BotSource`](/docs/reference/js/zaun-client/interfaces/botsource/)

Defined in: [zaun/js/index.d.ts:194](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L194)

Where the host confirmed the running version came from; absent from older hosts and for
bots installed before they recorded it (read that as `direct`). `kind` is the host's
claim: show Official or Community only when `registry_id` is also the key id you pin.

***

### state

> **state**: `"enabled"` \| `"disabled"` \| `"pending_approval"` \| `"crashed"`

Defined in: [zaun/js/index.d.ts:180](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L180)

***

### updated\_at

> **updated\_at**: `number`

Defined in: [zaun/js/index.d.ts:189](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L189)

***

### version

> **version**: `string`

Defined in: [zaun/js/index.d.ts:176](https://github.com/zaunchat/zaun-client/blob/main/zaun/js/index.d.ts#L176)
