Skip to main content

Class: HistorySync

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

Implements

Constructors

new HistorySync()

new HistorySync(p?): HistorySync

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

Parameters

p?

IHistorySync

Returns

HistorySync

Properties

accounts

accounts: IAccount[]

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

Implementation of

IHistorySync.accounts


aiWaitListState?

optional aiWaitListState: null | BotAIWaitListState

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

Implementation of

IHistorySync.aiWaitListState


callLogRecords

callLogRecords: ICallLogRecord[]

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

Implementation of

IHistorySync.callLogRecords


chunkOrder?

optional chunkOrder: null | number

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

Implementation of

IHistorySync.chunkOrder


companionMetaNonce?

optional companionMetaNonce: null | string

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

Implementation of

IHistorySync.companionMetaNonce


conversations

conversations: IConversation[]

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

Implementation of

IHistorySync.conversations


globalSettings?

optional globalSettings: null | IGlobalSettings

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

Implementation of

IHistorySync.globalSettings


pastParticipants

pastParticipants: IPastParticipants[]

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

Implementation of

IHistorySync.pastParticipants


phoneNumberToLidMappings

phoneNumberToLidMappings: IPhoneNumberToLIDMapping[]

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

Implementation of

IHistorySync.phoneNumberToLidMappings


progress?

optional progress: null | number

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

Implementation of

IHistorySync.progress


pushnames

pushnames: IPushname[]

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

Implementation of

IHistorySync.pushnames


recentStickers

recentStickers: IStickerMetadata[]

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

Implementation of

IHistorySync.recentStickers


shareableChatIdentifierEncryptionKey?

optional shareableChatIdentifierEncryptionKey: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IHistorySync.shareableChatIdentifierEncryptionKey


statusV3Messages

statusV3Messages: IWebMessageInfo[]

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

Implementation of

IHistorySync.statusV3Messages


syncType

syncType: HistorySyncType

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

Implementation of

IHistorySync.syncType


threadDsTimeframeOffset?

optional threadDsTimeframeOffset: null | number

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

Implementation of

IHistorySync.threadDsTimeframeOffset


threadIdUserSecret?

optional threadIdUserSecret: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IHistorySync.threadIdUserSecret

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): HistorySync

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

Parameters

properties?

IHistorySync

Returns

HistorySync


decode()

static decode(r, l?): HistorySync

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

HistorySync


encode()

static encode(m, w?): Writer

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

Parameters

m

IHistorySync

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): HistorySync

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

Parameters

d

Returns

HistorySync


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

HistorySync

o?

IConversionOptions

Returns

object