Skip to main content
Defined in: WAProto/index.d.ts:11085

Implements

Constructors

new SignedPreKeyRecordStructure()

new SignedPreKeyRecordStructure(p?): SignedPreKeyRecordStructure
Defined in: WAProto/index.d.ts:11086

Parameters

p?
ISignedPreKeyRecordStructure

Returns

SignedPreKeyRecordStructure

Properties

id?

optional id: null | number
Defined in: WAProto/index.d.ts:11087

Implementation of

ISignedPreKeyRecordStructure.id

privateKey?

optional privateKey: null | Uint8Array<ArrayBufferLike>
Defined in: WAProto/index.d.ts:11089

Implementation of

ISignedPreKeyRecordStructure.privateKey

publicKey?

optional publicKey: null | Uint8Array<ArrayBufferLike>
Defined in: WAProto/index.d.ts:11088

Implementation of

ISignedPreKeyRecordStructure.publicKey

signature?

optional signature: null | Uint8Array<ArrayBufferLike>
Defined in: WAProto/index.d.ts:11090

Implementation of

ISignedPreKeyRecordStructure.signature

timestamp?

optional timestamp: null | number | Long
Defined in: WAProto/index.d.ts:11091

Implementation of

ISignedPreKeyRecordStructure.timestamp

Methods

create()

static create(properties?): SignedPreKeyRecordStructure
Defined in: WAProto/index.d.ts:11092

Parameters

properties?
ISignedPreKeyRecordStructure

Returns

SignedPreKeyRecordStructure

decode()

static decode(r, l?): SignedPreKeyRecordStructure
Defined in: WAProto/index.d.ts:11094

Parameters

r
Uint8Array<ArrayBufferLike> | Reader
l?
number

Returns

SignedPreKeyRecordStructure

encode()

static encode(m, w?): Writer
Defined in: WAProto/index.d.ts:11093

Parameters

m
ISignedPreKeyRecordStructure
w?
Writer

Returns

Writer

fromObject()

static fromObject(d): SignedPreKeyRecordStructure
Defined in: WAProto/index.d.ts:11095

Parameters

d

Returns

SignedPreKeyRecordStructure

getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string
Defined in: WAProto/index.d.ts:11098

Parameters

typeUrlPrefix?
string

Returns

string

toJSON()

toJSON(): object
Defined in: WAProto/index.d.ts:11097

Returns

object

toObject()

static toObject(m, o?): object
Defined in: WAProto/index.d.ts:11096

Parameters

m
SignedPreKeyRecordStructure
o?
IConversionOptions

Returns

object