Skip to main content
Defined in: WAProto/index.d.ts:3658

Implements

Constructors

new Conversation()

new Conversation(p?): Conversation
Defined in: WAProto/index.d.ts:3659

Parameters

p?
IConversation

Returns

Conversation

Properties

accountLid?

optional accountLid: null | string
Defined in: WAProto/index.d.ts:3708

Implementation of

IConversation.accountLid

archived?

optional archived: null | boolean
Defined in: WAProto/index.d.ts:3675

Implementation of

IConversation.archived

capiCreatedGroup?

optional capiCreatedGroup: null | boolean
Defined in: WAProto/index.d.ts:3707

Implementation of

IConversation.capiCreatedGroup

commentsCount?

optional commentsCount: null | number
Defined in: WAProto/index.d.ts:3704

Implementation of

IConversation.commentsCount

contactPrimaryIdentityKey?

optional contactPrimaryIdentityKey: null | Uint8Array<ArrayBufferLike>
Defined in: WAProto/index.d.ts:3682

Implementation of

IConversation.contactPrimaryIdentityKey

conversationTimestamp?

optional conversationTimestamp: null | number | Long
Defined in: WAProto/index.d.ts:3671

Implementation of

IConversation.conversationTimestamp

createdAt?

optional createdAt: null | number | Long
Defined in: WAProto/index.d.ts:3690

Implementation of

IConversation.createdAt

createdBy?

optional createdBy: null | string
Defined in: WAProto/index.d.ts:3691

Implementation of

IConversation.createdBy

description?

optional description: null | string
Defined in: WAProto/index.d.ts:3692

Implementation of

IConversation.description

disappearingMode?

optional disappearingMode: null | IDisappearingMode
Defined in: WAProto/index.d.ts:3676

Implementation of

IConversation.disappearingMode

displayName?

optional displayName: null | string
Defined in: WAProto/index.d.ts:3697

Implementation of

IConversation.displayName

endOfHistoryTransfer?

optional endOfHistoryTransfer: null | boolean
Defined in: WAProto/index.d.ts:3667

Implementation of

IConversation.endOfHistoryTransfer

endOfHistoryTransferType?

optional endOfHistoryTransferType: null | EndOfHistoryTransferType
Defined in: WAProto/index.d.ts:3670

Implementation of

IConversation.endOfHistoryTransferType

ephemeralExpiration?

optional ephemeralExpiration: null | number
Defined in: WAProto/index.d.ts:3668

Implementation of

IConversation.ephemeralExpiration

ephemeralSettingTimestamp?

optional ephemeralSettingTimestamp: null | number | Long
Defined in: WAProto/index.d.ts:3669

Implementation of

IConversation.ephemeralSettingTimestamp

id

id: string
Defined in: WAProto/index.d.ts:3660

Implementation of

IConversation.id

isDefaultSubgroup?

optional isDefaultSubgroup: null | boolean
Defined in: WAProto/index.d.ts:3696

Implementation of

IConversation.isDefaultSubgroup

isParentGroup?

optional isParentGroup: null | boolean
Defined in: WAProto/index.d.ts:3694

Implementation of

IConversation.isParentGroup

lastMsgTimestamp?

optional lastMsgTimestamp: null | number | Long
Defined in: WAProto/index.d.ts:3664

Implementation of

IConversation.lastMsgTimestamp

lidJid?

optional lidJid: null | string
Defined in: WAProto/index.d.ts:3701

Implementation of

IConversation.lidJid

lidOriginType?

optional lidOriginType: null | string
Defined in: WAProto/index.d.ts:3703

Implementation of

IConversation.lidOriginType

limitSharing?

optional limitSharing: null | boolean
Defined in: WAProto/index.d.ts:3709

Implementation of

IConversation.limitSharing

limitSharingInitiatedByMe?

optional limitSharingInitiatedByMe: null | boolean
Defined in: WAProto/index.d.ts:3712

Implementation of

IConversation.limitSharingInitiatedByMe

limitSharingSettingTimestamp?

optional limitSharingSettingTimestamp: null | number | Long
Defined in: WAProto/index.d.ts:3710

Implementation of

IConversation.limitSharingSettingTimestamp

limitSharingTrigger?

optional limitSharingTrigger: null | TriggerType
Defined in: WAProto/index.d.ts:3711

Implementation of

IConversation.limitSharingTrigger

locked?

optional locked: null | boolean
Defined in: WAProto/index.d.ts:3705

Implementation of

IConversation.locked

maibaAiThreadEnabled?

optional maibaAiThreadEnabled: null | boolean
Defined in: WAProto/index.d.ts:3713

Implementation of

IConversation.maibaAiThreadEnabled

markedAsUnread?

optional markedAsUnread: null | boolean
Defined in: WAProto/index.d.ts:3678

Implementation of

IConversation.markedAsUnread

mediaVisibility?

optional mediaVisibility: null | MediaVisibility
Defined in: WAProto/index.d.ts:3686

Implementation of

IConversation.mediaVisibility

messages

messages: IHistorySyncMsg[]
Defined in: WAProto/index.d.ts:3661

Implementation of

IConversation.messages

muteEndTime?

optional muteEndTime: null | number | Long
Defined in: WAProto/index.d.ts:3684

Implementation of

IConversation.muteEndTime

name?

optional name: null | string
Defined in: WAProto/index.d.ts:3672

Implementation of

IConversation.name

newJid?

optional newJid: null | string
Defined in: WAProto/index.d.ts:3662

Implementation of

IConversation.newJid

notSpam?

optional notSpam: null | boolean
Defined in: WAProto/index.d.ts:3674

Implementation of

IConversation.notSpam

oldJid?

optional oldJid: null | string
Defined in: WAProto/index.d.ts:3663

Implementation of

IConversation.oldJid

parentGroupId?

optional parentGroupId: null | string
Defined in: WAProto/index.d.ts:3695

Implementation of

IConversation.parentGroupId

participant

participant: IGroupParticipant[]
Defined in: WAProto/index.d.ts:3679

Implementation of

IConversation.participant

pHash?

optional pHash: null | string
Defined in: WAProto/index.d.ts:3673

Implementation of

IConversation.pHash

pinned?

optional pinned: null | number
Defined in: WAProto/index.d.ts:3683

Implementation of

IConversation.pinned

pnhDuplicateLidThread?

optional pnhDuplicateLidThread: null | boolean
Defined in: WAProto/index.d.ts:3700

Implementation of

IConversation.pnhDuplicateLidThread

pnJid?

optional pnJid: null | string
Defined in: WAProto/index.d.ts:3698

Implementation of

IConversation.pnJid

readOnly?

optional readOnly: null | boolean
Defined in: WAProto/index.d.ts:3666

Implementation of

IConversation.readOnly

shareOwnPn?

optional shareOwnPn: null | boolean
Defined in: WAProto/index.d.ts:3699

Implementation of

IConversation.shareOwnPn

support?

optional support: null | boolean
Defined in: WAProto/index.d.ts:3693

Implementation of

IConversation.support

suspended?

optional suspended: null | boolean
Defined in: WAProto/index.d.ts:3688

Implementation of

IConversation.suspended

systemMessageToInsert?

optional systemMessageToInsert: null | PrivacySystemMessage
Defined in: WAProto/index.d.ts:3706

Implementation of

IConversation.systemMessageToInsert

tcToken?

optional tcToken: null | Uint8Array<ArrayBufferLike>
Defined in: WAProto/index.d.ts:3680

Implementation of

IConversation.tcToken

tcTokenSenderTimestamp?

optional tcTokenSenderTimestamp: null | number | Long
Defined in: WAProto/index.d.ts:3687

Implementation of

IConversation.tcTokenSenderTimestamp

tcTokenTimestamp?

optional tcTokenTimestamp: null | number | Long
Defined in: WAProto/index.d.ts:3681

Implementation of

IConversation.tcTokenTimestamp

terminated?

optional terminated: null | boolean
Defined in: WAProto/index.d.ts:3689

Implementation of

IConversation.terminated

unreadCount?

optional unreadCount: null | number
Defined in: WAProto/index.d.ts:3665

Implementation of

IConversation.unreadCount

unreadMentionCount?

optional unreadMentionCount: null | number
Defined in: WAProto/index.d.ts:3677

Implementation of

IConversation.unreadMentionCount

username?

optional username: null | string
Defined in: WAProto/index.d.ts:3702

Implementation of

IConversation.username

wallpaper?

optional wallpaper: null | IWallpaperSettings
Defined in: WAProto/index.d.ts:3685

Implementation of

IConversation.wallpaper

Methods

create()

static create(properties?): Conversation
Defined in: WAProto/index.d.ts:3714

Parameters

properties?
IConversation

Returns

Conversation

decode()

static decode(r, l?): Conversation
Defined in: WAProto/index.d.ts:3716

Parameters

r
Uint8Array<ArrayBufferLike> | Reader
l?
number

Returns

Conversation

encode()

static encode(m, w?): Writer
Defined in: WAProto/index.d.ts:3715

Parameters

m
IConversation
w?
Writer

Returns

Writer

fromObject()

static fromObject(d): Conversation
Defined in: WAProto/index.d.ts:3717

Parameters

d

Returns

Conversation

getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string
Defined in: WAProto/index.d.ts:3720

Parameters

typeUrlPrefix?
string

Returns

string

toJSON()

toJSON(): object
Defined in: WAProto/index.d.ts:3719

Returns

object

toObject()

static toObject(m, o?): object
Defined in: WAProto/index.d.ts:3718

Parameters

m
Conversation
o?
IConversionOptions

Returns

object