Skip to main content

Class: HistorySync

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

Implements

Constructors

new HistorySync()

new HistorySync(p?): HistorySync

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

Parameters

p?

IHistorySync

Returns

HistorySync

Properties

accounts

accounts: IAccount[]

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

Implementation of

IHistorySync.accounts


aiWaitListState?

optional aiWaitListState: null | BotAIWaitListState

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

Implementation of

IHistorySync.aiWaitListState


callLogRecords

callLogRecords: ICallLogRecord[]

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

Implementation of

IHistorySync.callLogRecords


chunkOrder?

optional chunkOrder: null | number

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

Implementation of

IHistorySync.chunkOrder


companionMetaNonce?

optional companionMetaNonce: null | string

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

Implementation of

IHistorySync.companionMetaNonce


conversations

conversations: IConversation[]

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

Implementation of

IHistorySync.conversations


globalSettings?

optional globalSettings: null | IGlobalSettings

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

Implementation of

IHistorySync.globalSettings


pastParticipants

pastParticipants: IPastParticipants[]

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

Implementation of

IHistorySync.pastParticipants


phoneNumberToLidMappings

phoneNumberToLidMappings: IPhoneNumberToLIDMapping[]

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

Implementation of

IHistorySync.phoneNumberToLidMappings


progress?

optional progress: null | number

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

Implementation of

IHistorySync.progress


pushnames

pushnames: IPushname[]

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

Implementation of

IHistorySync.pushnames


recentStickers

recentStickers: IStickerMetadata[]

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

Implementation of

IHistorySync.recentStickers


shareableChatIdentifierEncryptionKey?

optional shareableChatIdentifierEncryptionKey: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IHistorySync.shareableChatIdentifierEncryptionKey


statusV3Messages

statusV3Messages: IWebMessageInfo[]

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

Implementation of

IHistorySync.statusV3Messages


syncType

syncType: HistorySyncType

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

Implementation of

IHistorySync.syncType


threadDsTimeframeOffset?

optional threadDsTimeframeOffset: null | number

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

Implementation of

IHistorySync.threadDsTimeframeOffset


threadIdUserSecret?

optional threadIdUserSecret: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IHistorySync.threadIdUserSecret

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): HistorySync

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

Parameters

properties?

IHistorySync

Returns

HistorySync


decode()

static decode(r, l?): HistorySync

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

HistorySync


encode()

static encode(m, w?): Writer

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

Parameters

m

IHistorySync

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): HistorySync

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

Parameters

d

Returns

HistorySync


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

HistorySync

o?

IConversionOptions

Returns

object