> ## 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.

# UnknownEvent

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

# Class: UnknownEvent

Represents an unknown event.

## Implements

## Implements

* [`UnknownEventInterface`](../interfaces/UnknownEventInterface.mdx)

## Constructors

### new UnknownEvent()

> **new UnknownEvent**(`params`): [`UnknownEvent`](UnknownEvent.mdx)

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`](UnknownEvent.mdx)

#### Source

[packages/wapi.js/src/webhook/events/unknown/index.ts:34](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/webhook/events/unknown/index.ts#L34)

## Properties

### code

> **code**: `string`

The code associated with the unknown event.

#### Implementation of

[`UnknownEventInterface`](../interfaces/UnknownEventInterface.mdx).[`code`](../interfaces/UnknownEventInterface.mdx#code)

#### Source

[packages/wapi.js/src/webhook/events/unknown/index.ts:13](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/webhook/events/unknown/index.ts#L13)

***

### message

> **message**: `string`

The message associated with the unknown event.

#### Implementation of

[`UnknownEventInterface`](../interfaces/UnknownEventInterface.mdx).[`message`](../interfaces/UnknownEventInterface.mdx#message)

#### Source

[packages/wapi.js/src/webhook/events/unknown/index.ts:19](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/webhook/events/unknown/index.ts#L19)

***

### title

> **title**: `string`

The title associated with the unknown event.

#### Implementation of

[`UnknownEventInterface`](../interfaces/UnknownEventInterface.mdx).[`title`](../interfaces/UnknownEventInterface.mdx#title)

#### Source

[packages/wapi.js/src/webhook/events/unknown/index.ts:25](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/webhook/events/unknown/index.ts#L25)
