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

# LabelReorderingAction

> Protobuf class LabelReorderingAction generated from WAProto.

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

## Implements

* [`ILabelReorderingAction`](/proto-reference/SyncActionValue/interfaces/ILabelReorderingAction)

## Constructors

### new LabelReorderingAction()

> **new LabelReorderingAction**(`p`?): [`LabelReorderingAction`](/proto-reference/SyncActionValue/classes/LabelReorderingAction)

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

#### Parameters

##### p?

[`ILabelReorderingAction`](/proto-reference/SyncActionValue/interfaces/ILabelReorderingAction)

#### Returns

[`LabelReorderingAction`](/proto-reference/SyncActionValue/classes/LabelReorderingAction)

## Properties

### sortedLabelIds

> **sortedLabelIds**: `number`\[]

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

#### Implementation of

[`ILabelReorderingAction`](/proto-reference/SyncActionValue/interfaces/ILabelReorderingAction).[`sortedLabelIds`](/proto-reference/SyncActionValue/interfaces/ILabelReorderingAction#sortedlabelids)

## Methods

### create()

> `static` **create**(`properties`?): [`LabelReorderingAction`](/proto-reference/SyncActionValue/classes/LabelReorderingAction)

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

#### Parameters

##### properties?

[`ILabelReorderingAction`](/proto-reference/SyncActionValue/interfaces/ILabelReorderingAction)

#### Returns

[`LabelReorderingAction`](/proto-reference/SyncActionValue/classes/LabelReorderingAction)

***

### decode()

> `static` **decode**(`r`, `l`?): [`LabelReorderingAction`](/proto-reference/SyncActionValue/classes/LabelReorderingAction)

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`LabelReorderingAction`](/proto-reference/SyncActionValue/classes/LabelReorderingAction)

***

### encode()

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

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

#### Parameters

##### m

[`ILabelReorderingAction`](/proto-reference/SyncActionValue/interfaces/ILabelReorderingAction)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

> `static` **fromObject**(`d`): [`LabelReorderingAction`](/proto-reference/SyncActionValue/classes/LabelReorderingAction)

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

#### Parameters

##### d

#### Returns

[`LabelReorderingAction`](/proto-reference/SyncActionValue/classes/LabelReorderingAction)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`LabelReorderingAction`](/proto-reference/SyncActionValue/classes/LabelReorderingAction)

##### o?

`IConversionOptions`

#### Returns

`object`
