Wapi.js Docs / AdInteractionEventInterface

Interface: AdInteractionEventInterface

Represents an ad interaction event.

Interface

Extends

Properties

client

client: Client
The client instance associated with the event.

Inherited from

InteractionMessageEventInterface.client

Source

packages/wapi.js/src/webhook/events/base/interface.ts:18

context

context: MessageContext
The context of the message.

Inherited from

InteractionMessageEventInterface.context

Source

packages/wapi.js/src/webhook/events/base/interface.ts:35

messageId

messageId: string
The ID of the message.

Inherited from

InteractionMessageEventInterface.messageId

Source

packages/wapi.js/src/webhook/events/base/interface.ts:30

source

source: object

ctwaClid

ctwaClid: string

description

description: string

id

id: string

mediaType

mediaType: AdInteractionSourceMediaTypeEnum

mediaUrl?

optional mediaUrl: string

thumbnailUrl

thumbnailUrl: string

title

title: string

type

type: AdInteractionSourceTypeEnum

url

url: string

Source

packages/wapi.js/src/webhook/events/interaction/interface.ts:71

text

text: string

Source

packages/wapi.js/src/webhook/events/interaction/interface.ts:70

timestamp

timestamp: number
The timestamp of the message.

Inherited from

InteractionMessageEventInterface.timestamp

Source

packages/wapi.js/src/webhook/events/base/interface.ts:39