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

# LabelEditAction

> Protobuf class LabelEditAction generated from WAProto.

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

## Implements

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

## Constructors

### new LabelEditAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### color?

> `optional` **color**: `null` | `number`

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

#### Implementation of

[`ILabelEditAction`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction).[`color`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction#color)

***

### deleted?

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

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

#### Implementation of

[`ILabelEditAction`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction).[`deleted`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction#deleted)

***

### isActive?

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

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

#### Implementation of

[`ILabelEditAction`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction).[`isActive`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction#isactive)

***

### isImmutable?

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

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

#### Implementation of

[`ILabelEditAction`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction).[`isImmutable`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction#isimmutable)

***

### muteEndTimeMs?

> `optional` **muteEndTimeMs**: `null` | `number` | `Long`

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

#### Implementation of

[`ILabelEditAction`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction).[`muteEndTimeMs`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction#muteendtimems)

***

### name?

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

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

#### Implementation of

[`ILabelEditAction`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction).[`name`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction#name)

***

### orderIndex?

> `optional` **orderIndex**: `null` | `number`

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

#### Implementation of

[`ILabelEditAction`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction).[`orderIndex`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction#orderindex)

***

### predefinedId?

> `optional` **predefinedId**: `null` | `number`

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

#### Implementation of

[`ILabelEditAction`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction).[`predefinedId`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction#predefinedid)

***

### type?

> `optional` **type**: `null` | [`ListType`](/proto-reference/SyncActionValue/LabelEditAction/enumerations/ListType)

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

#### Implementation of

[`ILabelEditAction`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction).[`type`](/proto-reference/SyncActionValue/interfaces/ILabelEditAction#type)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
