Skip to main content

Class: HistorySync

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

Implements

Constructors

new HistorySync()

new HistorySync(p?): HistorySync

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

Parameters

p?

IHistorySync

Returns

HistorySync

Properties

accounts

accounts: IAccount[]

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

Implementation of

IHistorySync.accounts


aiWaitListState

aiWaitListState: BotAIWaitListState

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

Implementation of

IHistorySync.aiWaitListState


callLogRecords

callLogRecords: ICallLogRecord[]

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

Implementation of

IHistorySync.callLogRecords


chunkOrder

chunkOrder: number

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

Implementation of

IHistorySync.chunkOrder


companionMetaNonce

companionMetaNonce: string

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

Implementation of

IHistorySync.companionMetaNonce


conversations

conversations: IConversation[]

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

Implementation of

IHistorySync.conversations


globalSettings?

optional globalSettings: null | IGlobalSettings

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

Implementation of

IHistorySync.globalSettings


pastParticipants

pastParticipants: IPastParticipants[]

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

Implementation of

IHistorySync.pastParticipants


phoneNumberToLidMappings

phoneNumberToLidMappings: IPhoneNumberToLIDMapping[]

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

Implementation of

IHistorySync.phoneNumberToLidMappings


progress

progress: number

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

Implementation of

IHistorySync.progress


pushnames

pushnames: IPushname[]

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

Implementation of

IHistorySync.pushnames


recentStickers

recentStickers: IStickerMetadata[]

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

Implementation of

IHistorySync.recentStickers


shareableChatIdentifierEncryptionKey

shareableChatIdentifierEncryptionKey: Uint8Array

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

Implementation of

IHistorySync.shareableChatIdentifierEncryptionKey


statusV3Messages

statusV3Messages: IWebMessageInfo[]

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

Implementation of

IHistorySync.statusV3Messages


syncType

syncType: HistorySyncType

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

Implementation of

IHistorySync.syncType


threadDsTimeframeOffset

threadDsTimeframeOffset: number

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

Implementation of

IHistorySync.threadDsTimeframeOffset


threadIdUserSecret

threadIdUserSecret: Uint8Array

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

Implementation of

IHistorySync.threadIdUserSecret

Methods

create()

static create(properties?): HistorySync

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

Parameters

properties?

IHistorySync

Returns

HistorySync


decode()

static decode(r, l?): HistorySync

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

HistorySync


encode()

static encode(m, w?): Writer

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

Parameters

m

IHistorySync

w?

Writer

Returns

Writer


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string