Skip to main content

Class: PreKeyRecordStructure

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

Implements

Constructors

new PreKeyRecordStructure()

new PreKeyRecordStructure(p?): PreKeyRecordStructure

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

Parameters

p?

IPreKeyRecordStructure

Returns

PreKeyRecordStructure

Properties

id

id: number

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

Implementation of

IPreKeyRecordStructure.id


privateKey

privateKey: Uint8Array

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

Implementation of

IPreKeyRecordStructure.privateKey


publicKey

publicKey: Uint8Array

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

Implementation of

IPreKeyRecordStructure.publicKey

Methods

create()

static create(properties?): PreKeyRecordStructure

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

Parameters

properties?

IPreKeyRecordStructure

Returns

PreKeyRecordStructure


decode()

static decode(r, l?): PreKeyRecordStructure

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

PreKeyRecordStructure


encode()

static encode(m, w?): Writer

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

Parameters

m

IPreKeyRecordStructure

w?

Writer

Returns

Writer


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string