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

# ProductSection

> Protobuf class ProductSection generated from WAProto.

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

## Implements

* [`IProductSection`](/proto-reference/Message/ListMessage/interfaces/IProductSection)

## Constructors

### new ProductSection()

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

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

#### Parameters

##### p?

[`IProductSection`](/proto-reference/Message/ListMessage/interfaces/IProductSection)

#### Returns

[`ProductSection`](/proto-reference/Message/ListMessage/classes/ProductSection)

## Properties

### products

> **products**: [`IProduct`](/proto-reference/Message/ListMessage/interfaces/IProduct)\[]

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

#### Implementation of

[`IProductSection`](/proto-reference/Message/ListMessage/interfaces/IProductSection).[`products`](/proto-reference/Message/ListMessage/interfaces/IProductSection#products)

***

### title?

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

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

#### Implementation of

[`IProductSection`](/proto-reference/Message/ListMessage/interfaces/IProductSection).[`title`](/proto-reference/Message/ListMessage/interfaces/IProductSection#title)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IProductSection`](/proto-reference/Message/ListMessage/interfaces/IProductSection)

#### Returns

[`ProductSection`](/proto-reference/Message/ListMessage/classes/ProductSection)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`ProductSection`](/proto-reference/Message/ListMessage/classes/ProductSection)

***

### encode()

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

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

#### Parameters

##### m

[`IProductSection`](/proto-reference/Message/ListMessage/interfaces/IProductSection)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`ProductSection`](/proto-reference/Message/ListMessage/classes/ProductSection)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`ProductSection`](/proto-reference/Message/ListMessage/classes/ProductSection)

##### o?

`IConversionOptions`

#### Returns

`object`
