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

# HydratedFourRowTemplate

> Protobuf class HydratedFourRowTemplate generated from WAProto.

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

## Implements

* [`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate)

## Constructors

### new HydratedFourRowTemplate()

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

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

#### Parameters

##### p?

[`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate)

#### Returns

[`HydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/classes/HydratedFourRowTemplate)

## Properties

### documentMessage?

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

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

#### Implementation of

[`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate).[`documentMessage`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate#documentmessage)

***

### hydratedButtons

> **hydratedButtons**: [`IHydratedTemplateButton`](/proto-reference/interfaces/IHydratedTemplateButton)\[]

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

#### Implementation of

[`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate).[`hydratedButtons`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate#hydratedbuttons)

***

### hydratedContentText?

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

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

#### Implementation of

[`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate).[`hydratedContentText`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate#hydratedcontenttext)

***

### hydratedFooterText?

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

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

#### Implementation of

[`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate).[`hydratedFooterText`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate#hydratedfootertext)

***

### hydratedTitleText?

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

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

#### Implementation of

[`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate).[`hydratedTitleText`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate#hydratedtitletext)

***

### imageMessage?

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

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

#### Implementation of

[`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate).[`imageMessage`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate#imagemessage)

***

### locationMessage?

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

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

#### Implementation of

[`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate).[`locationMessage`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate#locationmessage)

***

### maskLinkedDevices?

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

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

#### Implementation of

[`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate).[`maskLinkedDevices`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate#masklinkeddevices)

***

### templateId?

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

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

#### Implementation of

[`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate).[`templateId`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate#templateid)

***

### title?

> `optional` **title**: `"imageMessage"` | `"locationMessage"` | `"documentMessage"` | `"videoMessage"` | `"hydratedTitleText"`

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

***

### videoMessage?

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

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

#### Implementation of

[`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate).[`videoMessage`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate#videomessage)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate)

#### Returns

[`HydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/classes/HydratedFourRowTemplate)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`HydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/classes/HydratedFourRowTemplate)

***

### encode()

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

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

#### Parameters

##### m

[`IHydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/interfaces/IHydratedFourRowTemplate)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`HydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/classes/HydratedFourRowTemplate)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`HydratedFourRowTemplate`](/proto-reference/Message/TemplateMessage/classes/HydratedFourRowTemplate)

##### o?

`IConversionOptions`

#### Returns

`object`
