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

# Section

> Protobuf class Section generated from WAProto.

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

## Implements

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

## Constructors

### new Section()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### rows

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

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

#### Implementation of

[`ISection`](/proto-reference/Message/ListMessage/interfaces/ISection).[`rows`](/proto-reference/Message/ListMessage/interfaces/ISection#rows)

***

### title?

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

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

#### Implementation of

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

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
