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

# Conversation

> Protobuf class Conversation generated from WAProto.

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

## Implements

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

## Constructors

### new Conversation()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### accountLid?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`accountLid`](/proto-reference/interfaces/IConversation#accountlid)

***

### archived?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`archived`](/proto-reference/interfaces/IConversation#archived)

***

### capiCreatedGroup?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`capiCreatedGroup`](/proto-reference/interfaces/IConversation#capicreatedgroup)

***

### commentsCount?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`commentsCount`](/proto-reference/interfaces/IConversation#commentscount)

***

### contactPrimaryIdentityKey?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`contactPrimaryIdentityKey`](/proto-reference/interfaces/IConversation#contactprimaryidentitykey)

***

### conversationTimestamp?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`conversationTimestamp`](/proto-reference/interfaces/IConversation#conversationtimestamp)

***

### createdAt?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`createdAt`](/proto-reference/interfaces/IConversation#createdat)

***

### createdBy?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`createdBy`](/proto-reference/interfaces/IConversation#createdby)

***

### description?

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

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

#### Implementation of

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

***

### disappearingMode?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`disappearingMode`](/proto-reference/interfaces/IConversation#disappearingmode)

***

### displayName?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`displayName`](/proto-reference/interfaces/IConversation#displayname)

***

### endOfHistoryTransfer?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`endOfHistoryTransfer`](/proto-reference/interfaces/IConversation#endofhistorytransfer)

***

### endOfHistoryTransferType?

> `optional` **endOfHistoryTransferType**: `null` | [`EndOfHistoryTransferType`](/proto-reference/Conversation/enumerations/EndOfHistoryTransferType)

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`endOfHistoryTransferType`](/proto-reference/interfaces/IConversation#endofhistorytransfertype)

***

### ephemeralExpiration?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`ephemeralExpiration`](/proto-reference/interfaces/IConversation#ephemeralexpiration)

***

### ephemeralSettingTimestamp?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`ephemeralSettingTimestamp`](/proto-reference/interfaces/IConversation#ephemeralsettingtimestamp)

***

### id

> **id**: `string`

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`id`](/proto-reference/interfaces/IConversation#id)

***

### isDefaultSubgroup?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`isDefaultSubgroup`](/proto-reference/interfaces/IConversation#isdefaultsubgroup)

***

### isParentGroup?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`isParentGroup`](/proto-reference/interfaces/IConversation#isparentgroup)

***

### lastMsgTimestamp?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`lastMsgTimestamp`](/proto-reference/interfaces/IConversation#lastmsgtimestamp)

***

### lidJid?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`lidJid`](/proto-reference/interfaces/IConversation#lidjid)

***

### lidOriginType?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`lidOriginType`](/proto-reference/interfaces/IConversation#lidorigintype)

***

### limitSharing?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`limitSharing`](/proto-reference/interfaces/IConversation#limitsharing)

***

### limitSharingInitiatedByMe?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`limitSharingInitiatedByMe`](/proto-reference/interfaces/IConversation#limitsharinginitiatedbyme)

***

### limitSharingSettingTimestamp?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`limitSharingSettingTimestamp`](/proto-reference/interfaces/IConversation#limitsharingsettingtimestamp)

***

### limitSharingTrigger?

> `optional` **limitSharingTrigger**: `null` | [`TriggerType`](/proto-reference/LimitSharing/enumerations/TriggerType)

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`limitSharingTrigger`](/proto-reference/interfaces/IConversation#limitsharingtrigger)

***

### locked?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`locked`](/proto-reference/interfaces/IConversation#locked)

***

### maibaAiThreadEnabled?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`maibaAiThreadEnabled`](/proto-reference/interfaces/IConversation#maibaaithreadenabled)

***

### markedAsUnread?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`markedAsUnread`](/proto-reference/interfaces/IConversation#markedasunread)

***

### mediaVisibility?

> `optional` **mediaVisibility**: `null` | [`MediaVisibility`](/proto-reference/enumerations/MediaVisibility)

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`mediaVisibility`](/proto-reference/interfaces/IConversation#mediavisibility)

***

### messages

> **messages**: [`IHistorySyncMsg`](/proto-reference/interfaces/IHistorySyncMsg)\[]

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`messages`](/proto-reference/interfaces/IConversation#messages)

***

### muteEndTime?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`muteEndTime`](/proto-reference/interfaces/IConversation#muteendtime)

***

### name?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`name`](/proto-reference/interfaces/IConversation#name)

***

### newJid?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`newJid`](/proto-reference/interfaces/IConversation#newjid)

***

### notSpam?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`notSpam`](/proto-reference/interfaces/IConversation#notspam)

***

### oldJid?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`oldJid`](/proto-reference/interfaces/IConversation#oldjid)

***

### parentGroupId?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`parentGroupId`](/proto-reference/interfaces/IConversation#parentgroupid)

***

### participant

> **participant**: [`IGroupParticipant`](/proto-reference/interfaces/IGroupParticipant)\[]

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`participant`](/proto-reference/interfaces/IConversation#participant)

***

### pHash?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`pHash`](/proto-reference/interfaces/IConversation#phash)

***

### pinned?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`pinned`](/proto-reference/interfaces/IConversation#pinned)

***

### pnhDuplicateLidThread?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`pnhDuplicateLidThread`](/proto-reference/interfaces/IConversation#pnhduplicatelidthread)

***

### pnJid?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`pnJid`](/proto-reference/interfaces/IConversation#pnjid)

***

### readOnly?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`readOnly`](/proto-reference/interfaces/IConversation#readonly)

***

### shareOwnPn?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`shareOwnPn`](/proto-reference/interfaces/IConversation#shareownpn)

***

### support?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`support`](/proto-reference/interfaces/IConversation#support)

***

### suspended?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`suspended`](/proto-reference/interfaces/IConversation#suspended)

***

### systemMessageToInsert?

> `optional` **systemMessageToInsert**: `null` | [`PrivacySystemMessage`](/proto-reference/enumerations/PrivacySystemMessage)

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`systemMessageToInsert`](/proto-reference/interfaces/IConversation#systemmessagetoinsert)

***

### tcToken?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`tcToken`](/proto-reference/interfaces/IConversation#tctoken)

***

### tcTokenSenderTimestamp?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`tcTokenSenderTimestamp`](/proto-reference/interfaces/IConversation#tctokensendertimestamp)

***

### tcTokenTimestamp?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`tcTokenTimestamp`](/proto-reference/interfaces/IConversation#tctokentimestamp)

***

### terminated?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`terminated`](/proto-reference/interfaces/IConversation#terminated)

***

### unreadCount?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`unreadCount`](/proto-reference/interfaces/IConversation#unreadcount)

***

### unreadMentionCount?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`unreadMentionCount`](/proto-reference/interfaces/IConversation#unreadmentioncount)

***

### username?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`username`](/proto-reference/interfaces/IConversation#username)

***

### wallpaper?

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

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

#### Implementation of

[`IConversation`](/proto-reference/interfaces/IConversation).[`wallpaper`](/proto-reference/interfaces/IConversation#wallpaper)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
