> ## Documentation Index
> Fetch the complete documentation index at: https://yor.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Yor.ts | classes/YorInteractionModal

[yor.ts](../README) / [Exports](../modules) / YorInteractionModal

# Class: YorInteractionModal

## Implements

* [`Modal`](../interfaces/Modal)

## Table of contents

### Constructors

* [constructor](YorInteractionModal#constructor)

### Properties

* [execute](YorInteractionModal#execute)
* [id](YorInteractionModal#id)

## Constructors

### constructor

• **new YorInteractionModal**(): [`YorInteractionModal`](YorInteractionModal)

#### Returns

[`YorInteractionModal`](YorInteractionModal)

## Properties

### execute

• **execute**: (`context`: [`ModalContext`](ModalContext)) => `void` | [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`>

#### Type declaration

▸ (`context`): `void` | [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`>

##### Parameters

| Name      | Type                           |
| :-------- | :----------------------------- |
| `context` | [`ModalContext`](ModalContext) |

##### Returns

`void` | [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`>

#### Implementation of

[Modal](../interfaces/Modal).[execute](../interfaces/Modal#execute)

#### Defined in

[src/structures/YorInteractionModal.ts:7](https://github.com/OreOreki/yor.ts/blob/ff21935/src/structures/YorInteractionModal.ts#L7)

***

### id

• **id**: `string`

#### Implementation of

[Modal](../interfaces/Modal).[id](../interfaces/Modal#id)

#### Defined in

[src/structures/YorInteractionModal.ts:6](https://github.com/OreOreki/yor.ts/blob/ff21935/src/structures/YorInteractionModal.ts#L6)
