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

# MarketingMessageBroadcastAction

> Protobuf class MarketingMessageBroadcastAction generated from WAProto.

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

## Implements

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

## Constructors

### new MarketingMessageBroadcastAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### repliedCount?

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

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

#### Implementation of

[`IMarketingMessageBroadcastAction`](/proto-reference/SyncActionValue/interfaces/IMarketingMessageBroadcastAction).[`repliedCount`](/proto-reference/SyncActionValue/interfaces/IMarketingMessageBroadcastAction#repliedcount)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
