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

# MusicUserIdAction

> Protobuf class MusicUserIdAction generated from WAProto.

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

## Implements

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

## Constructors

### new MusicUserIdAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### musicUserId?

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

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

#### Implementation of

[`IMusicUserIdAction`](/proto-reference/SyncActionValue/interfaces/IMusicUserIdAction).[`musicUserId`](/proto-reference/SyncActionValue/interfaces/IMusicUserIdAction#musicuserid)

***

### musicUserIdMap

> **musicUserIdMap**: `object`

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

#### Index Signature

\[`k`: `string`]: `string`

#### Implementation of

[`IMusicUserIdAction`](/proto-reference/SyncActionValue/interfaces/IMusicUserIdAction).[`musicUserIdMap`](/proto-reference/SyncActionValue/interfaces/IMusicUserIdAction#musicuseridmap)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
