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

# Footer

> Protobuf class Footer generated from WAProto.

Defined in: [WAProto/index.d.ts:6838](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6838)

## Implements

* [`IFooter`](/proto-reference/Message/InteractiveMessage/interfaces/IFooter)

## Constructors

### new Footer()

> **new Footer**(`p`?): [`Footer`](/proto-reference/Message/InteractiveMessage/classes/Footer)

Defined in: [WAProto/index.d.ts:6839](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6839)

#### Parameters

##### p?

[`IFooter`](/proto-reference/Message/InteractiveMessage/interfaces/IFooter)

#### Returns

[`Footer`](/proto-reference/Message/InteractiveMessage/classes/Footer)

## Properties

### audioMessage?

> `optional` **audioMessage**: `null` | [`IAudioMessage`](/proto-reference/Message/interfaces/IAudioMessage)

Defined in: [WAProto/index.d.ts:6842](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6842)

#### Implementation of

[`IFooter`](/proto-reference/Message/InteractiveMessage/interfaces/IFooter).[`audioMessage`](/proto-reference/Message/InteractiveMessage/interfaces/IFooter#audiomessage)

***

### hasMediaAttachment?

> `optional` **hasMediaAttachment**: `null` | `boolean`

Defined in: [WAProto/index.d.ts:6841](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6841)

#### Implementation of

[`IFooter`](/proto-reference/Message/InteractiveMessage/interfaces/IFooter).[`hasMediaAttachment`](/proto-reference/Message/InteractiveMessage/interfaces/IFooter#hasmediaattachment)

***

### media?

> `optional` **media**: `"audioMessage"`

Defined in: [WAProto/index.d.ts:6843](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6843)

***

### text?

> `optional` **text**: `null` | `string`

Defined in: [WAProto/index.d.ts:6840](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6840)

#### Implementation of

[`IFooter`](/proto-reference/Message/InteractiveMessage/interfaces/IFooter).[`text`](/proto-reference/Message/InteractiveMessage/interfaces/IFooter#text)

## Methods

### create()

> `static` **create**(`properties`?): [`Footer`](/proto-reference/Message/InteractiveMessage/classes/Footer)

Defined in: [WAProto/index.d.ts:6844](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6844)

#### Parameters

##### properties?

[`IFooter`](/proto-reference/Message/InteractiveMessage/interfaces/IFooter)

#### Returns

[`Footer`](/proto-reference/Message/InteractiveMessage/classes/Footer)

***

### decode()

> `static` **decode**(`r`, `l`?): [`Footer`](/proto-reference/Message/InteractiveMessage/classes/Footer)

Defined in: [WAProto/index.d.ts:6846](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6846)

#### Parameters

##### r

`Uint8Array`\<`ArrayBufferLike`> | `Reader`

##### l?

`number`

#### Returns

[`Footer`](/proto-reference/Message/InteractiveMessage/classes/Footer)

***

### encode()

> `static` **encode**(`m`, `w`?): `Writer`

Defined in: [WAProto/index.d.ts:6845](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6845)

#### Parameters

##### m

[`IFooter`](/proto-reference/Message/InteractiveMessage/interfaces/IFooter)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

> `static` **fromObject**(`d`): [`Footer`](/proto-reference/Message/InteractiveMessage/classes/Footer)

Defined in: [WAProto/index.d.ts:6847](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6847)

#### Parameters

##### d

#### Returns

[`Footer`](/proto-reference/Message/InteractiveMessage/classes/Footer)

***

### getTypeUrl()

> `static` **getTypeUrl**(`typeUrlPrefix`?): `string`

Defined in: [WAProto/index.d.ts:6850](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6850)

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

> **toJSON**(): `object`

Defined in: [WAProto/index.d.ts:6849](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6849)

#### Returns

`object`

***

### toObject()

> `static` **toObject**(`m`, `o`?): `object`

Defined in: [WAProto/index.d.ts:6848](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6848)

#### Parameters

##### m

[`Footer`](/proto-reference/Message/InteractiveMessage/classes/Footer)

##### o?

`IConversionOptions`

#### Returns

`object`
