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

# MsgOpaqueData

> Protobuf class MsgOpaqueData generated from WAProto.

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

## Implements

* [`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData)

## Constructors

### new MsgOpaqueData()

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

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

#### Parameters

##### p?

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData)

#### Returns

[`MsgOpaqueData`](/proto-reference/classes/MsgOpaqueData)

## Properties

### body?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`body`](/proto-reference/interfaces/IMsgOpaqueData#body)

***

### botMessageSecret?

> `optional` **botMessageSecret**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`botMessageSecret`](/proto-reference/interfaces/IMsgOpaqueData#botmessagesecret)

***

### caption?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`caption`](/proto-reference/interfaces/IMsgOpaqueData#caption)

***

### clientUrl?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`clientUrl`](/proto-reference/interfaces/IMsgOpaqueData#clienturl)

***

### correctOptionIndex?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`correctOptionIndex`](/proto-reference/interfaces/IMsgOpaqueData#correctoptionindex)

***

### description?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`description`](/proto-reference/interfaces/IMsgOpaqueData#description)

***

### encIv?

> `optional` **encIv**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`encIv`](/proto-reference/interfaces/IMsgOpaqueData#enciv)

***

### encPayload?

> `optional` **encPayload**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`encPayload`](/proto-reference/interfaces/IMsgOpaqueData#encpayload)

***

### encPollVote?

> `optional` **encPollVote**: `null` | [`IPollEncValue`](/proto-reference/interfaces/IPollEncValue)

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`encPollVote`](/proto-reference/interfaces/IMsgOpaqueData#encpollvote)

***

### encReactionEncIv?

> `optional` **encReactionEncIv**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`encReactionEncIv`](/proto-reference/interfaces/IMsgOpaqueData#encreactionenciv)

***

### encReactionEncPayload?

> `optional` **encReactionEncPayload**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`encReactionEncPayload`](/proto-reference/interfaces/IMsgOpaqueData#encreactionencpayload)

***

### encReactionTargetMessageKey?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`encReactionTargetMessageKey`](/proto-reference/interfaces/IMsgOpaqueData#encreactiontargetmessagekey)

***

### eventDescription?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`eventDescription`](/proto-reference/interfaces/IMsgOpaqueData#eventdescription)

***

### eventEndTime?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`eventEndTime`](/proto-reference/interfaces/IMsgOpaqueData#eventendtime)

***

### eventExtraGuestsAllowed?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`eventExtraGuestsAllowed`](/proto-reference/interfaces/IMsgOpaqueData#eventextraguestsallowed)

***

### eventIsScheduledCall?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`eventIsScheduledCall`](/proto-reference/interfaces/IMsgOpaqueData#eventisscheduledcall)

***

### eventJoinLink?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`eventJoinLink`](/proto-reference/interfaces/IMsgOpaqueData#eventjoinlink)

***

### eventLocation?

> `optional` **eventLocation**: `null` | [`IEventLocation`](/proto-reference/MsgOpaqueData/interfaces/IEventLocation)

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`eventLocation`](/proto-reference/interfaces/IMsgOpaqueData#eventlocation)

***

### eventName?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`eventName`](/proto-reference/interfaces/IMsgOpaqueData#eventname)

***

### eventStartTime?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`eventStartTime`](/proto-reference/interfaces/IMsgOpaqueData#eventstarttime)

***

### futureproofBuffer?

> `optional` **futureproofBuffer**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`futureproofBuffer`](/proto-reference/interfaces/IMsgOpaqueData#futureproofbuffer)

***

### isEventCanceled?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`isEventCanceled`](/proto-reference/interfaces/IMsgOpaqueData#iseventcanceled)

***

### isLive?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`isLive`](/proto-reference/interfaces/IMsgOpaqueData#islive)

***

### isSentCagPollCreation?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`isSentCagPollCreation`](/proto-reference/interfaces/IMsgOpaqueData#issentcagpollcreation)

***

### lat?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`lat`](/proto-reference/interfaces/IMsgOpaqueData#lat)

***

### lng?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`lng`](/proto-reference/interfaces/IMsgOpaqueData#lng)

***

### loc?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`loc`](/proto-reference/interfaces/IMsgOpaqueData#loc)

***

### matchedText?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`matchedText`](/proto-reference/interfaces/IMsgOpaqueData#matchedtext)

***

### messageSecret?

> `optional` **messageSecret**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`messageSecret`](/proto-reference/interfaces/IMsgOpaqueData#messagesecret)

***

### originalSelfAuthor?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`originalSelfAuthor`](/proto-reference/interfaces/IMsgOpaqueData#originalselfauthor)

***

### paymentAmount1000?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`paymentAmount1000`](/proto-reference/interfaces/IMsgOpaqueData#paymentamount1000)

***

### paymentNoteMsgBody?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`paymentNoteMsgBody`](/proto-reference/interfaces/IMsgOpaqueData#paymentnotemsgbody)

***

### plainProtobufBytes?

> `optional` **plainProtobufBytes**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`plainProtobufBytes`](/proto-reference/interfaces/IMsgOpaqueData#plainprotobufbytes)

***

### pollContentType?

> `optional` **pollContentType**: `null` | [`PollContentType`](/proto-reference/MsgOpaqueData/enumerations/PollContentType)

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`pollContentType`](/proto-reference/interfaces/IMsgOpaqueData#pollcontenttype)

***

### pollName?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`pollName`](/proto-reference/interfaces/IMsgOpaqueData#pollname)

***

### pollOptions

> **pollOptions**: [`IPollOption`](/proto-reference/MsgOpaqueData/interfaces/IPollOption)\[]

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`pollOptions`](/proto-reference/interfaces/IMsgOpaqueData#polloptions)

***

### pollSelectableOptionsCount?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`pollSelectableOptionsCount`](/proto-reference/interfaces/IMsgOpaqueData#pollselectableoptionscount)

***

### pollType?

> `optional` **pollType**: `null` | [`PollType`](/proto-reference/MsgOpaqueData/enumerations/PollType)

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`pollType`](/proto-reference/interfaces/IMsgOpaqueData#polltype)

***

### pollUpdateParentKey?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`pollUpdateParentKey`](/proto-reference/interfaces/IMsgOpaqueData#pollupdateparentkey)

***

### pollVotesSnapshot?

> `optional` **pollVotesSnapshot**: `null` | [`IPollVotesSnapshot`](/proto-reference/MsgOpaqueData/interfaces/IPollVotesSnapshot)

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`pollVotesSnapshot`](/proto-reference/interfaces/IMsgOpaqueData#pollvotessnapshot)

***

### senderTimestampMs?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`senderTimestampMs`](/proto-reference/interfaces/IMsgOpaqueData#sendertimestampms)

***

### targetMessageKey?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`targetMessageKey`](/proto-reference/interfaces/IMsgOpaqueData#targetmessagekey)

***

### title?

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

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

#### Implementation of

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData).[`title`](/proto-reference/interfaces/IMsgOpaqueData#title)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData)

#### Returns

[`MsgOpaqueData`](/proto-reference/classes/MsgOpaqueData)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`MsgOpaqueData`](/proto-reference/classes/MsgOpaqueData)

***

### encode()

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

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

#### Parameters

##### m

[`IMsgOpaqueData`](/proto-reference/interfaces/IMsgOpaqueData)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`MsgOpaqueData`](/proto-reference/classes/MsgOpaqueData)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`MsgOpaqueData`](/proto-reference/classes/MsgOpaqueData)

##### o?

`IConversionOptions`

#### Returns

`object`
