Skip to main content

Class: Conversation

Defined in: WAProto/index.d.ts:2953

Implements

Constructors

new Conversation()

new Conversation(p?): Conversation

Defined in: WAProto/index.d.ts:2954

Parameters

p?

IConversation

Returns

Conversation

Properties

accountLid?

optional accountLid: null | string

Defined in: WAProto/index.d.ts:3003

Implementation of

IConversation.accountLid


archived?

optional archived: null | boolean

Defined in: WAProto/index.d.ts:2970

Implementation of

IConversation.archived


capiCreatedGroup?

optional capiCreatedGroup: null | boolean

Defined in: WAProto/index.d.ts:3002

Implementation of

IConversation.capiCreatedGroup


commentsCount?

optional commentsCount: null | number

Defined in: WAProto/index.d.ts:2999

Implementation of

IConversation.commentsCount


contactPrimaryIdentityKey?

optional contactPrimaryIdentityKey: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:2977

Implementation of

IConversation.contactPrimaryIdentityKey


conversationTimestamp?

optional conversationTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:2966

Implementation of

IConversation.conversationTimestamp


createdAt?

optional createdAt: null | number | Long

Defined in: WAProto/index.d.ts:2985

Implementation of

IConversation.createdAt


createdBy?

optional createdBy: null | string

Defined in: WAProto/index.d.ts:2986

Implementation of

IConversation.createdBy


description?

optional description: null | string

Defined in: WAProto/index.d.ts:2987

Implementation of

IConversation.description


disappearingMode?

optional disappearingMode: null | IDisappearingMode

Defined in: WAProto/index.d.ts:2971

Implementation of

IConversation.disappearingMode


displayName?

optional displayName: null | string

Defined in: WAProto/index.d.ts:2992

Implementation of

IConversation.displayName


endOfHistoryTransfer?

optional endOfHistoryTransfer: null | boolean

Defined in: WAProto/index.d.ts:2962

Implementation of

IConversation.endOfHistoryTransfer


endOfHistoryTransferType?

optional endOfHistoryTransferType: null | EndOfHistoryTransferType

Defined in: WAProto/index.d.ts:2965

Implementation of

IConversation.endOfHistoryTransferType


ephemeralExpiration?

optional ephemeralExpiration: null | number

Defined in: WAProto/index.d.ts:2963

Implementation of

IConversation.ephemeralExpiration


ephemeralSettingTimestamp?

optional ephemeralSettingTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:2964

Implementation of

IConversation.ephemeralSettingTimestamp


id

id: string

Defined in: WAProto/index.d.ts:2955

Implementation of

IConversation.id


isDefaultSubgroup?

optional isDefaultSubgroup: null | boolean

Defined in: WAProto/index.d.ts:2991

Implementation of

IConversation.isDefaultSubgroup


isParentGroup?

optional isParentGroup: null | boolean

Defined in: WAProto/index.d.ts:2989

Implementation of

IConversation.isParentGroup


lastMsgTimestamp?

optional lastMsgTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:2959

Implementation of

IConversation.lastMsgTimestamp


lidJid?

optional lidJid: null | string

Defined in: WAProto/index.d.ts:2996

Implementation of

IConversation.lidJid


lidOriginType?

optional lidOriginType: null | string

Defined in: WAProto/index.d.ts:2998

Implementation of

IConversation.lidOriginType


limitSharing?

optional limitSharing: null | boolean

Defined in: WAProto/index.d.ts:3004

Implementation of

IConversation.limitSharing


limitSharingInitiatedByMe?

optional limitSharingInitiatedByMe: null | boolean

Defined in: WAProto/index.d.ts:3007

Implementation of

IConversation.limitSharingInitiatedByMe


limitSharingSettingTimestamp?

optional limitSharingSettingTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:3005

Implementation of

IConversation.limitSharingSettingTimestamp


limitSharingTrigger?

optional limitSharingTrigger: null | TriggerType

Defined in: WAProto/index.d.ts:3006

Implementation of

IConversation.limitSharingTrigger


locked?

optional locked: null | boolean

Defined in: WAProto/index.d.ts:3000

Implementation of

IConversation.locked


markedAsUnread?

optional markedAsUnread: null | boolean

Defined in: WAProto/index.d.ts:2973

Implementation of

IConversation.markedAsUnread


mediaVisibility?

optional mediaVisibility: null | MediaVisibility

Defined in: WAProto/index.d.ts:2981

Implementation of

IConversation.mediaVisibility


messages

messages: IHistorySyncMsg[]

Defined in: WAProto/index.d.ts:2956

Implementation of

IConversation.messages


muteEndTime?

optional muteEndTime: null | number | Long

Defined in: WAProto/index.d.ts:2979

Implementation of

IConversation.muteEndTime


name?

optional name: null | string

Defined in: WAProto/index.d.ts:2967

Implementation of

IConversation.name


newJid?

optional newJid: null | string

Defined in: WAProto/index.d.ts:2957

Implementation of

IConversation.newJid


notSpam?

optional notSpam: null | boolean

Defined in: WAProto/index.d.ts:2969

Implementation of

IConversation.notSpam


oldJid?

optional oldJid: null | string

Defined in: WAProto/index.d.ts:2958

Implementation of

IConversation.oldJid


parentGroupId?

optional parentGroupId: null | string

Defined in: WAProto/index.d.ts:2990

Implementation of

IConversation.parentGroupId


participant

participant: IGroupParticipant[]

Defined in: WAProto/index.d.ts:2974

Implementation of

IConversation.participant


pHash?

optional pHash: null | string

Defined in: WAProto/index.d.ts:2968

Implementation of

IConversation.pHash


pinned?

optional pinned: null | number

Defined in: WAProto/index.d.ts:2978

Implementation of

IConversation.pinned


pnhDuplicateLidThread?

optional pnhDuplicateLidThread: null | boolean

Defined in: WAProto/index.d.ts:2995

Implementation of

IConversation.pnhDuplicateLidThread


pnJid?

optional pnJid: null | string

Defined in: WAProto/index.d.ts:2993

Implementation of

IConversation.pnJid


readOnly?

optional readOnly: null | boolean

Defined in: WAProto/index.d.ts:2961

Implementation of

IConversation.readOnly


shareOwnPn?

optional shareOwnPn: null | boolean

Defined in: WAProto/index.d.ts:2994

Implementation of

IConversation.shareOwnPn


support?

optional support: null | boolean

Defined in: WAProto/index.d.ts:2988

Implementation of

IConversation.support


suspended?

optional suspended: null | boolean

Defined in: WAProto/index.d.ts:2983

Implementation of

IConversation.suspended


systemMessageToInsert?

optional systemMessageToInsert: null | PrivacySystemMessage

Defined in: WAProto/index.d.ts:3001

Implementation of

IConversation.systemMessageToInsert


tcToken?

optional tcToken: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:2975

Implementation of

IConversation.tcToken


tcTokenSenderTimestamp?

optional tcTokenSenderTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:2982

Implementation of

IConversation.tcTokenSenderTimestamp


tcTokenTimestamp?

optional tcTokenTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:2976

Implementation of

IConversation.tcTokenTimestamp


terminated?

optional terminated: null | boolean

Defined in: WAProto/index.d.ts:2984

Implementation of

IConversation.terminated


unreadCount?

optional unreadCount: null | number

Defined in: WAProto/index.d.ts:2960

Implementation of

IConversation.unreadCount


unreadMentionCount?

optional unreadMentionCount: null | number

Defined in: WAProto/index.d.ts:2972

Implementation of

IConversation.unreadMentionCount


username?

optional username: null | string

Defined in: WAProto/index.d.ts:2997

Implementation of

IConversation.username


wallpaper?

optional wallpaper: null | IWallpaperSettings

Defined in: WAProto/index.d.ts:2980

Implementation of

IConversation.wallpaper

Methods

toJSON()

toJSON(): object

Defined in: WAProto/index.d.ts:3013

Returns

object


create()

static create(properties?): Conversation

Defined in: WAProto/index.d.ts:3008

Parameters

properties?

IConversation

Returns

Conversation


decode()

static decode(r, l?): Conversation

Defined in: WAProto/index.d.ts:3010

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

Conversation


encode()

static encode(m, w?): Writer

Defined in: WAProto/index.d.ts:3009

Parameters

m

IConversation

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): Conversation

Defined in: WAProto/index.d.ts:3011

Parameters

d

Returns

Conversation


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

Defined in: WAProto/index.d.ts:3014

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

Defined in: WAProto/index.d.ts:3012

Parameters

m

Conversation

o?

IConversionOptions

Returns

object