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

# Message

> Protobuf class Message generated from WAProto.

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

## Implements

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

## Constructors

### new Message()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### albumMessage?

> `optional` **albumMessage**: `null` | [`IAlbumMessage`](/proto-reference/Message/interfaces/IAlbumMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`albumMessage`](/proto-reference/interfaces/IMessage#albummessage)

***

### associatedChildMessage?

> `optional` **associatedChildMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`associatedChildMessage`](/proto-reference/interfaces/IMessage#associatedchildmessage)

***

### audioMessage?

> `optional` **audioMessage**: `null` | [`IAudioMessage`](/proto-reference/Message/interfaces/IAudioMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`audioMessage`](/proto-reference/interfaces/IMessage#audiomessage)

***

### bcallMessage?

> `optional` **bcallMessage**: `null` | [`IBCallMessage`](/proto-reference/Message/interfaces/IBCallMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`bcallMessage`](/proto-reference/interfaces/IMessage#bcallmessage)

***

### botForwardedMessage?

> `optional` **botForwardedMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`botForwardedMessage`](/proto-reference/interfaces/IMessage#botforwardedmessage)

***

### botInvokeMessage?

> `optional` **botInvokeMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`botInvokeMessage`](/proto-reference/interfaces/IMessage#botinvokemessage)

***

### botTaskMessage?

> `optional` **botTaskMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`botTaskMessage`](/proto-reference/interfaces/IMessage#bottaskmessage)

***

### buttonsMessage?

> `optional` **buttonsMessage**: `null` | [`IButtonsMessage`](/proto-reference/Message/interfaces/IButtonsMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`buttonsMessage`](/proto-reference/interfaces/IMessage#buttonsmessage)

***

### buttonsResponseMessage?

> `optional` **buttonsResponseMessage**: `null` | [`IButtonsResponseMessage`](/proto-reference/Message/interfaces/IButtonsResponseMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`buttonsResponseMessage`](/proto-reference/interfaces/IMessage#buttonsresponsemessage)

***

### call?

> `optional` **call**: `null` | [`ICall`](/proto-reference/Message/interfaces/ICall)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`call`](/proto-reference/interfaces/IMessage#call)

***

### callLogMesssage?

> `optional` **callLogMesssage**: `null` | [`ICallLogMessage`](/proto-reference/Message/interfaces/ICallLogMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`callLogMesssage`](/proto-reference/interfaces/IMessage#calllogmesssage)

***

### cancelPaymentRequestMessage?

> `optional` **cancelPaymentRequestMessage**: `null` | [`ICancelPaymentRequestMessage`](/proto-reference/Message/interfaces/ICancelPaymentRequestMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`cancelPaymentRequestMessage`](/proto-reference/interfaces/IMessage#cancelpaymentrequestmessage)

***

### chat?

> `optional` **chat**: `null` | [`IChat`](/proto-reference/Message/interfaces/IChat)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`chat`](/proto-reference/interfaces/IMessage#chat)

***

### commentMessage?

> `optional` **commentMessage**: `null` | [`ICommentMessage`](/proto-reference/Message/interfaces/ICommentMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`commentMessage`](/proto-reference/interfaces/IMessage#commentmessage)

***

### contactMessage?

> `optional` **contactMessage**: `null` | [`IContactMessage`](/proto-reference/Message/interfaces/IContactMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`contactMessage`](/proto-reference/interfaces/IMessage#contactmessage)

***

### contactsArrayMessage?

> `optional` **contactsArrayMessage**: `null` | [`IContactsArrayMessage`](/proto-reference/Message/interfaces/IContactsArrayMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`contactsArrayMessage`](/proto-reference/interfaces/IMessage#contactsarraymessage)

***

### conversation?

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

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`conversation`](/proto-reference/interfaces/IMessage#conversation)

***

### declinePaymentRequestMessage?

> `optional` **declinePaymentRequestMessage**: `null` | [`IDeclinePaymentRequestMessage`](/proto-reference/Message/interfaces/IDeclinePaymentRequestMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`declinePaymentRequestMessage`](/proto-reference/interfaces/IMessage#declinepaymentrequestmessage)

***

### deviceSentMessage?

> `optional` **deviceSentMessage**: `null` | [`IDeviceSentMessage`](/proto-reference/Message/interfaces/IDeviceSentMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`deviceSentMessage`](/proto-reference/interfaces/IMessage#devicesentmessage)

***

### documentMessage?

> `optional` **documentMessage**: `null` | [`IDocumentMessage`](/proto-reference/Message/interfaces/IDocumentMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`documentMessage`](/proto-reference/interfaces/IMessage#documentmessage)

***

### documentWithCaptionMessage?

> `optional` **documentWithCaptionMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`documentWithCaptionMessage`](/proto-reference/interfaces/IMessage#documentwithcaptionmessage)

***

### editedMessage?

> `optional` **editedMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`editedMessage`](/proto-reference/interfaces/IMessage#editedmessage)

***

### encCommentMessage?

> `optional` **encCommentMessage**: `null` | [`IEncCommentMessage`](/proto-reference/Message/interfaces/IEncCommentMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`encCommentMessage`](/proto-reference/interfaces/IMessage#enccommentmessage)

***

### encEventResponseMessage?

> `optional` **encEventResponseMessage**: `null` | [`IEncEventResponseMessage`](/proto-reference/Message/interfaces/IEncEventResponseMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`encEventResponseMessage`](/proto-reference/interfaces/IMessage#enceventresponsemessage)

***

### encReactionMessage?

> `optional` **encReactionMessage**: `null` | [`IEncReactionMessage`](/proto-reference/Message/interfaces/IEncReactionMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`encReactionMessage`](/proto-reference/interfaces/IMessage#encreactionmessage)

***

### ephemeralMessage?

> `optional` **ephemeralMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`ephemeralMessage`](/proto-reference/interfaces/IMessage#ephemeralmessage)

***

### eventCoverImage?

> `optional` **eventCoverImage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`eventCoverImage`](/proto-reference/interfaces/IMessage#eventcoverimage)

***

### eventMessage?

> `optional` **eventMessage**: `null` | [`IEventMessage`](/proto-reference/Message/interfaces/IEventMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`eventMessage`](/proto-reference/interfaces/IMessage#eventmessage)

***

### extendedTextMessage?

> `optional` **extendedTextMessage**: `null` | [`IExtendedTextMessage`](/proto-reference/Message/interfaces/IExtendedTextMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`extendedTextMessage`](/proto-reference/interfaces/IMessage#extendedtextmessage)

***

### fastRatchetKeySenderKeyDistributionMessage?

> `optional` **fastRatchetKeySenderKeyDistributionMessage**: `null` | [`ISenderKeyDistributionMessage`](/proto-reference/Message/interfaces/ISenderKeyDistributionMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`fastRatchetKeySenderKeyDistributionMessage`](/proto-reference/interfaces/IMessage#fastratchetkeysenderkeydistributionmessage)

***

### groupInviteMessage?

> `optional` **groupInviteMessage**: `null` | [`IGroupInviteMessage`](/proto-reference/Message/interfaces/IGroupInviteMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`groupInviteMessage`](/proto-reference/interfaces/IMessage#groupinvitemessage)

***

### groupMentionedMessage?

> `optional` **groupMentionedMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`groupMentionedMessage`](/proto-reference/interfaces/IMessage#groupmentionedmessage)

***

### groupStatusMentionMessage?

> `optional` **groupStatusMentionMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`groupStatusMentionMessage`](/proto-reference/interfaces/IMessage#groupstatusmentionmessage)

***

### groupStatusMessage?

> `optional` **groupStatusMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`groupStatusMessage`](/proto-reference/interfaces/IMessage#groupstatusmessage)

***

### groupStatusMessageV2?

> `optional` **groupStatusMessageV2**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`groupStatusMessageV2`](/proto-reference/interfaces/IMessage#groupstatusmessagev2)

***

### highlyStructuredMessage?

> `optional` **highlyStructuredMessage**: `null` | [`IHighlyStructuredMessage`](/proto-reference/Message/interfaces/IHighlyStructuredMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`highlyStructuredMessage`](/proto-reference/interfaces/IMessage#highlystructuredmessage)

***

### imageMessage?

> `optional` **imageMessage**: `null` | [`IImageMessage`](/proto-reference/Message/interfaces/IImageMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`imageMessage`](/proto-reference/interfaces/IMessage#imagemessage)

***

### interactiveMessage?

> `optional` **interactiveMessage**: `null` | [`IInteractiveMessage`](/proto-reference/Message/interfaces/IInteractiveMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`interactiveMessage`](/proto-reference/interfaces/IMessage#interactivemessage)

***

### interactiveResponseMessage?

> `optional` **interactiveResponseMessage**: `null` | [`IInteractiveResponseMessage`](/proto-reference/Message/interfaces/IInteractiveResponseMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`interactiveResponseMessage`](/proto-reference/interfaces/IMessage#interactiveresponsemessage)

***

### invoiceMessage?

> `optional` **invoiceMessage**: `null` | [`IInvoiceMessage`](/proto-reference/Message/interfaces/IInvoiceMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`invoiceMessage`](/proto-reference/interfaces/IMessage#invoicemessage)

***

### keepInChatMessage?

> `optional` **keepInChatMessage**: `null` | [`IKeepInChatMessage`](/proto-reference/Message/interfaces/IKeepInChatMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`keepInChatMessage`](/proto-reference/interfaces/IMessage#keepinchatmessage)

***

### limitSharingMessage?

> `optional` **limitSharingMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`limitSharingMessage`](/proto-reference/interfaces/IMessage#limitsharingmessage)

***

### listMessage?

> `optional` **listMessage**: `null` | [`IListMessage`](/proto-reference/Message/interfaces/IListMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`listMessage`](/proto-reference/interfaces/IMessage#listmessage)

***

### listResponseMessage?

> `optional` **listResponseMessage**: `null` | [`IListResponseMessage`](/proto-reference/Message/interfaces/IListResponseMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`listResponseMessage`](/proto-reference/interfaces/IMessage#listresponsemessage)

***

### liveLocationMessage?

> `optional` **liveLocationMessage**: `null` | [`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`liveLocationMessage`](/proto-reference/interfaces/IMessage#livelocationmessage)

***

### locationMessage?

> `optional` **locationMessage**: `null` | [`ILocationMessage`](/proto-reference/Message/interfaces/ILocationMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`locationMessage`](/proto-reference/interfaces/IMessage#locationmessage)

***

### lottieStickerMessage?

> `optional` **lottieStickerMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`lottieStickerMessage`](/proto-reference/interfaces/IMessage#lottiestickermessage)

***

### messageContextInfo?

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

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`messageContextInfo`](/proto-reference/interfaces/IMessage#messagecontextinfo)

***

### messageHistoryBundle?

> `optional` **messageHistoryBundle**: `null` | [`IMessageHistoryBundle`](/proto-reference/Message/interfaces/IMessageHistoryBundle)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`messageHistoryBundle`](/proto-reference/interfaces/IMessage#messagehistorybundle)

***

### messageHistoryNotice?

> `optional` **messageHistoryNotice**: `null` | [`IMessageHistoryNotice`](/proto-reference/Message/interfaces/IMessageHistoryNotice)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`messageHistoryNotice`](/proto-reference/interfaces/IMessage#messagehistorynotice)

***

### newsletterAdminInviteMessage?

> `optional` **newsletterAdminInviteMessage**: `null` | [`INewsletterAdminInviteMessage`](/proto-reference/Message/interfaces/INewsletterAdminInviteMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`newsletterAdminInviteMessage`](/proto-reference/interfaces/IMessage#newsletteradmininvitemessage)

***

### newsletterFollowerInviteMessageV2?

> `optional` **newsletterFollowerInviteMessageV2**: `null` | [`INewsletterFollowerInviteMessage`](/proto-reference/Message/interfaces/INewsletterFollowerInviteMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`newsletterFollowerInviteMessageV2`](/proto-reference/interfaces/IMessage#newsletterfollowerinvitemessagev2)

***

### orderMessage?

> `optional` **orderMessage**: `null` | [`IOrderMessage`](/proto-reference/Message/interfaces/IOrderMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`orderMessage`](/proto-reference/interfaces/IMessage#ordermessage)

***

### paymentInviteMessage?

> `optional` **paymentInviteMessage**: `null` | [`IPaymentInviteMessage`](/proto-reference/Message/interfaces/IPaymentInviteMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`paymentInviteMessage`](/proto-reference/interfaces/IMessage#paymentinvitemessage)

***

### pinInChatMessage?

> `optional` **pinInChatMessage**: `null` | [`IPinInChatMessage`](/proto-reference/Message/interfaces/IPinInChatMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`pinInChatMessage`](/proto-reference/interfaces/IMessage#pininchatmessage)

***

### placeholderMessage?

> `optional` **placeholderMessage**: `null` | [`IPlaceholderMessage`](/proto-reference/Message/interfaces/IPlaceholderMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`placeholderMessage`](/proto-reference/interfaces/IMessage#placeholdermessage)

***

### pollCreationMessage?

> `optional` **pollCreationMessage**: `null` | [`IPollCreationMessage`](/proto-reference/Message/interfaces/IPollCreationMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`pollCreationMessage`](/proto-reference/interfaces/IMessage#pollcreationmessage)

***

### pollCreationMessageV2?

> `optional` **pollCreationMessageV2**: `null` | [`IPollCreationMessage`](/proto-reference/Message/interfaces/IPollCreationMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`pollCreationMessageV2`](/proto-reference/interfaces/IMessage#pollcreationmessagev2)

***

### pollCreationMessageV3?

> `optional` **pollCreationMessageV3**: `null` | [`IPollCreationMessage`](/proto-reference/Message/interfaces/IPollCreationMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`pollCreationMessageV3`](/proto-reference/interfaces/IMessage#pollcreationmessagev3)

***

### pollCreationMessageV4?

> `optional` **pollCreationMessageV4**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`pollCreationMessageV4`](/proto-reference/interfaces/IMessage#pollcreationmessagev4)

***

### pollCreationMessageV5?

> `optional` **pollCreationMessageV5**: `null` | [`IPollCreationMessage`](/proto-reference/Message/interfaces/IPollCreationMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`pollCreationMessageV5`](/proto-reference/interfaces/IMessage#pollcreationmessagev5)

***

### pollCreationOptionImageMessage?

> `optional` **pollCreationOptionImageMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`pollCreationOptionImageMessage`](/proto-reference/interfaces/IMessage#pollcreationoptionimagemessage)

***

### pollResultSnapshotMessage?

> `optional` **pollResultSnapshotMessage**: `null` | [`IPollResultSnapshotMessage`](/proto-reference/Message/interfaces/IPollResultSnapshotMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`pollResultSnapshotMessage`](/proto-reference/interfaces/IMessage#pollresultsnapshotmessage)

***

### pollResultSnapshotMessageV3?

> `optional` **pollResultSnapshotMessageV3**: `null` | [`IPollResultSnapshotMessage`](/proto-reference/Message/interfaces/IPollResultSnapshotMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`pollResultSnapshotMessageV3`](/proto-reference/interfaces/IMessage#pollresultsnapshotmessagev3)

***

### pollUpdateMessage?

> `optional` **pollUpdateMessage**: `null` | [`IPollUpdateMessage`](/proto-reference/Message/interfaces/IPollUpdateMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`pollUpdateMessage`](/proto-reference/interfaces/IMessage#pollupdatemessage)

***

### productMessage?

> `optional` **productMessage**: `null` | [`IProductMessage`](/proto-reference/Message/interfaces/IProductMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`productMessage`](/proto-reference/interfaces/IMessage#productmessage)

***

### protocolMessage?

> `optional` **protocolMessage**: `null` | [`IProtocolMessage`](/proto-reference/Message/interfaces/IProtocolMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`protocolMessage`](/proto-reference/interfaces/IMessage#protocolmessage)

***

### ptvMessage?

> `optional` **ptvMessage**: `null` | [`IVideoMessage`](/proto-reference/Message/interfaces/IVideoMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`ptvMessage`](/proto-reference/interfaces/IMessage#ptvmessage)

***

### questionMessage?

> `optional` **questionMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`questionMessage`](/proto-reference/interfaces/IMessage#questionmessage)

***

### questionReplyMessage?

> `optional` **questionReplyMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`questionReplyMessage`](/proto-reference/interfaces/IMessage#questionreplymessage)

***

### questionResponseMessage?

> `optional` **questionResponseMessage**: `null` | [`IQuestionResponseMessage`](/proto-reference/Message/interfaces/IQuestionResponseMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`questionResponseMessage`](/proto-reference/interfaces/IMessage#questionresponsemessage)

***

### reactionMessage?

> `optional` **reactionMessage**: `null` | [`IReactionMessage`](/proto-reference/Message/interfaces/IReactionMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`reactionMessage`](/proto-reference/interfaces/IMessage#reactionmessage)

***

### requestPaymentMessage?

> `optional` **requestPaymentMessage**: `null` | [`IRequestPaymentMessage`](/proto-reference/Message/interfaces/IRequestPaymentMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`requestPaymentMessage`](/proto-reference/interfaces/IMessage#requestpaymentmessage)

***

### requestPhoneNumberMessage?

> `optional` **requestPhoneNumberMessage**: `null` | [`IRequestPhoneNumberMessage`](/proto-reference/Message/interfaces/IRequestPhoneNumberMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`requestPhoneNumberMessage`](/proto-reference/interfaces/IMessage#requestphonenumbermessage)

***

### richResponseMessage?

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

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`richResponseMessage`](/proto-reference/interfaces/IMessage#richresponsemessage)

***

### scheduledCallCreationMessage?

> `optional` **scheduledCallCreationMessage**: `null` | [`IScheduledCallCreationMessage`](/proto-reference/Message/interfaces/IScheduledCallCreationMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`scheduledCallCreationMessage`](/proto-reference/interfaces/IMessage#scheduledcallcreationmessage)

***

### scheduledCallEditMessage?

> `optional` **scheduledCallEditMessage**: `null` | [`IScheduledCallEditMessage`](/proto-reference/Message/interfaces/IScheduledCallEditMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`scheduledCallEditMessage`](/proto-reference/interfaces/IMessage#scheduledcalleditmessage)

***

### secretEncryptedMessage?

> `optional` **secretEncryptedMessage**: `null` | [`ISecretEncryptedMessage`](/proto-reference/Message/interfaces/ISecretEncryptedMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`secretEncryptedMessage`](/proto-reference/interfaces/IMessage#secretencryptedmessage)

***

### senderKeyDistributionMessage?

> `optional` **senderKeyDistributionMessage**: `null` | [`ISenderKeyDistributionMessage`](/proto-reference/Message/interfaces/ISenderKeyDistributionMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`senderKeyDistributionMessage`](/proto-reference/interfaces/IMessage#senderkeydistributionmessage)

***

### sendPaymentMessage?

> `optional` **sendPaymentMessage**: `null` | [`ISendPaymentMessage`](/proto-reference/Message/interfaces/ISendPaymentMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`sendPaymentMessage`](/proto-reference/interfaces/IMessage#sendpaymentmessage)

***

### statusAddYours?

> `optional` **statusAddYours**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`statusAddYours`](/proto-reference/interfaces/IMessage#statusaddyours)

***

### statusMentionMessage?

> `optional` **statusMentionMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`statusMentionMessage`](/proto-reference/interfaces/IMessage#statusmentionmessage)

***

### statusNotificationMessage?

> `optional` **statusNotificationMessage**: `null` | [`IStatusNotificationMessage`](/proto-reference/Message/interfaces/IStatusNotificationMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`statusNotificationMessage`](/proto-reference/interfaces/IMessage#statusnotificationmessage)

***

### statusQuestionAnswerMessage?

> `optional` **statusQuestionAnswerMessage**: `null` | [`IStatusQuestionAnswerMessage`](/proto-reference/Message/interfaces/IStatusQuestionAnswerMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`statusQuestionAnswerMessage`](/proto-reference/interfaces/IMessage#statusquestionanswermessage)

***

### statusQuotedMessage?

> `optional` **statusQuotedMessage**: `null` | [`IStatusQuotedMessage`](/proto-reference/Message/interfaces/IStatusQuotedMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`statusQuotedMessage`](/proto-reference/interfaces/IMessage#statusquotedmessage)

***

### statusStickerInteractionMessage?

> `optional` **statusStickerInteractionMessage**: `null` | [`IStatusStickerInteractionMessage`](/proto-reference/Message/interfaces/IStatusStickerInteractionMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`statusStickerInteractionMessage`](/proto-reference/interfaces/IMessage#statusstickerinteractionmessage)

***

### stickerMessage?

> `optional` **stickerMessage**: `null` | [`IStickerMessage`](/proto-reference/Message/interfaces/IStickerMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`stickerMessage`](/proto-reference/interfaces/IMessage#stickermessage)

***

### stickerPackMessage?

> `optional` **stickerPackMessage**: `null` | [`IStickerPackMessage`](/proto-reference/Message/interfaces/IStickerPackMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`stickerPackMessage`](/proto-reference/interfaces/IMessage#stickerpackmessage)

***

### stickerSyncRmrMessage?

> `optional` **stickerSyncRmrMessage**: `null` | [`IStickerSyncRMRMessage`](/proto-reference/Message/interfaces/IStickerSyncRMRMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`stickerSyncRmrMessage`](/proto-reference/interfaces/IMessage#stickersyncrmrmessage)

***

### templateButtonReplyMessage?

> `optional` **templateButtonReplyMessage**: `null` | [`ITemplateButtonReplyMessage`](/proto-reference/Message/interfaces/ITemplateButtonReplyMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`templateButtonReplyMessage`](/proto-reference/interfaces/IMessage#templatebuttonreplymessage)

***

### templateMessage?

> `optional` **templateMessage**: `null` | [`ITemplateMessage`](/proto-reference/Message/interfaces/ITemplateMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`templateMessage`](/proto-reference/interfaces/IMessage#templatemessage)

***

### videoMessage?

> `optional` **videoMessage**: `null` | [`IVideoMessage`](/proto-reference/Message/interfaces/IVideoMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`videoMessage`](/proto-reference/interfaces/IMessage#videomessage)

***

### viewOnceMessage?

> `optional` **viewOnceMessage**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`viewOnceMessage`](/proto-reference/interfaces/IMessage#viewoncemessage)

***

### viewOnceMessageV2?

> `optional` **viewOnceMessageV2**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`viewOnceMessageV2`](/proto-reference/interfaces/IMessage#viewoncemessagev2)

***

### viewOnceMessageV2Extension?

> `optional` **viewOnceMessageV2Extension**: `null` | [`IFutureProofMessage`](/proto-reference/Message/interfaces/IFutureProofMessage)

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

#### Implementation of

[`IMessage`](/proto-reference/interfaces/IMessage).[`viewOnceMessageV2Extension`](/proto-reference/interfaces/IMessage#viewoncemessagev2extension)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
