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

# MuteAction

> Protobuf class MuteAction generated from WAProto.

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

## Implements

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

## Constructors

### new MuteAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### autoMuted?

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

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

#### Implementation of

[`IMuteAction`](/proto-reference/SyncActionValue/interfaces/IMuteAction).[`autoMuted`](/proto-reference/SyncActionValue/interfaces/IMuteAction#automuted)

***

### muted?

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

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

#### Implementation of

[`IMuteAction`](/proto-reference/SyncActionValue/interfaces/IMuteAction).[`muted`](/proto-reference/SyncActionValue/interfaces/IMuteAction#muted)

***

### muteEndTimestamp?

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

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

#### Implementation of

[`IMuteAction`](/proto-reference/SyncActionValue/interfaces/IMuteAction).[`muteEndTimestamp`](/proto-reference/SyncActionValue/interfaces/IMuteAction#muteendtimestamp)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
