# Interface: InviteOptions

Defined in: [packages/core/src/node/types.ts:181](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L181)

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-role"></a> `role?` | `readonly` | `string` | The role it gives. Default: `member` when you may assign it, else the first role you may assign, else a view-only invite | [packages/core/src/node/types.ts:183](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L183) |
| <a id="property-short"></a> `short?` | `readonly` | `boolean` | A short link, the rest sealed in mailboxes (spec 03 §7.7); the long form when no mailbox takes it. Default false | [packages/core/src/node/types.ts:187](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L187) |
| <a id="property-until"></a> `until?` | `readonly` | `number` | For a short link: when to stop sharing it, ms. Closing the invite is what ends it. | [packages/core/src/node/types.ts:189](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L189) |
| <a id="property-write"></a> `write?` | `readonly` | `boolean` | False for a view-only invite: the key, and no role. Default true | [packages/core/src/node/types.ts:185](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L185) |
