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

# AdInteractionEventInterface

[Wapi.js Docs](../README.mdx) / AdInteractionEventInterface

# Interface: AdInteractionEventInterface

Represents an ad interaction event.

## Interface

## Extends

* [`InteractionMessageEventInterface`](../type-aliases/InteractionMessageEventInterface.mdx)

## Properties

### client

> **client**: [`Client`](../classes/Client.mdx)

The client instance associated with the event.

#### Inherited from

`InteractionMessageEventInterface.client`

#### Source

[packages/wapi.js/src/webhook/events/base/interface.ts:18](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/webhook/events/base/interface.ts#L18)

***

### context

> **context**: [`MessageContext`](../type-aliases/MessageContext.mdx)

The context of the message.

#### Inherited from

`InteractionMessageEventInterface.context`

#### Source

[packages/wapi.js/src/webhook/events/base/interface.ts:35](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/webhook/events/base/interface.ts#L35)

***

### messageId

> **messageId**: `string`

The ID of the message.

#### Inherited from

`InteractionMessageEventInterface.messageId`

#### Source

[packages/wapi.js/src/webhook/events/base/interface.ts:30](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/webhook/events/base/interface.ts#L30)

***

### source

> **source**: `object`

#### ctwaClid

> **ctwaClid**: `string`

#### description

> **description**: `string`

#### id

> **id**: `string`

#### mediaType

> **mediaType**: [`AdInteractionSourceMediaTypeEnum`](../enumerations/AdInteractionSourceMediaTypeEnum.mdx)

#### mediaUrl?

> `optional` **mediaUrl**: `string`

#### thumbnailUrl

> **thumbnailUrl**: `string`

#### title

> **title**: `string`

#### type

> **type**: [`AdInteractionSourceTypeEnum`](../enumerations/AdInteractionSourceTypeEnum.mdx)

#### url

> **url**: `string`

#### Source

[packages/wapi.js/src/webhook/events/interaction/interface.ts:71](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/webhook/events/interaction/interface.ts#L71)

***

### text

> **text**: `string`

#### Source

[packages/wapi.js/src/webhook/events/interaction/interface.ts:70](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/webhook/events/interaction/interface.ts#L70)

***

### timestamp

> **timestamp**: `number`

The timestamp of the message.

#### Inherited from

`InteractionMessageEventInterface.timestamp`

#### Source

[packages/wapi.js/src/webhook/events/base/interface.ts:39](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/webhook/events/base/interface.ts#L39)
