Wapi.js Docs / UnknownEvent

Class: UnknownEvent

Represents an unknown event.

Implements

Implements

Constructors

new UnknownEvent()

new UnknownEvent(params): UnknownEvent

Creates an instance of UnknownEvent.

Parameters

params

The parameters for the UnknownEvent.

params.code: string

The code associated with the unknown event.

params.message: string

The message associated with the unknown event.

params.title: string

The title associated with the unknown event.

Returns

UnknownEvent

Source

packages/wapi.js/src/webhook/events/unknown/index.ts:34

Properties

code

code: string

The code associated with the unknown event.

Implementation of

UnknownEventInterface.code

Source

packages/wapi.js/src/webhook/events/unknown/index.ts:13


message

message: string

The message associated with the unknown event.

Implementation of

UnknownEventInterface.message

Source

packages/wapi.js/src/webhook/events/unknown/index.ts:19


title

title: string

The title associated with the unknown event.

Implementation of

UnknownEventInterface.title

Source

packages/wapi.js/src/webhook/events/unknown/index.ts:25