Skip to main content

SignedPreKeyRecordStructure

amiudmodz


amiudmodz / proto / SignedPreKeyRecordStructure

Class: SignedPreKeyRecordStructure

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

Implements​

Constructors​

new SignedPreKeyRecordStructure()​

new SignedPreKeyRecordStructure(p?): SignedPreKeyRecordStructure

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

Parameters​

p?​

ISignedPreKeyRecordStructure

Returns​

SignedPreKeyRecordStructure

Properties​

id?​

optional id: null | number

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

Implementation of​

ISignedPreKeyRecordStructure.id


privateKey?​

optional privateKey: null | Uint8Array<ArrayBufferLike>

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

Implementation of​

ISignedPreKeyRecordStructure.privateKey


publicKey?​

optional publicKey: null | Uint8Array<ArrayBufferLike>

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

Implementation of​

ISignedPreKeyRecordStructure.publicKey


signature?​

optional signature: null | Uint8Array<ArrayBufferLike>

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

Implementation of​

ISignedPreKeyRecordStructure.signature


timestamp?​

optional timestamp: null | number | Long

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

Implementation of​

ISignedPreKeyRecordStructure.timestamp

Methods​

toJSON()​

toJSON(): object

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

Returns​

object


create()​

static create(properties?): SignedPreKeyRecordStructure

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

Parameters​

properties?​

ISignedPreKeyRecordStructure

Returns​

SignedPreKeyRecordStructure


decode()​

static decode(r, l?): SignedPreKeyRecordStructure

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

Parameters​

r​

Uint8Array<ArrayBufferLike> | Reader

l?​

number

Returns​

SignedPreKeyRecordStructure


encode()​

static encode(m, w?): Writer

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

Parameters​

m​

ISignedPreKeyRecordStructure

w?​

Writer

Returns​

Writer


fromObject()​

static fromObject(d): SignedPreKeyRecordStructure

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

Parameters​

d​

Returns​

SignedPreKeyRecordStructure


getTypeUrl()​

static getTypeUrl(typeUrlPrefix?): string

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

Parameters​

typeUrlPrefix?​

string

Returns​

string


toObject()​

static toObject(m, o?): object

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

Parameters​

m​

SignedPreKeyRecordStructure

o?​

IConversionOptions

Returns​

object