Implements
Constructors
new PreKeyRecordStructure()
new PreKeyRecordStructure(Defined in: WAProto/index.d.ts:10450p?):PreKeyRecordStructure
Parameters
p?
IPreKeyRecordStructure
Returns
PreKeyRecordStructure
Properties
id?
Defined in: WAProto/index.d.ts:10451optionalid:null|number
Implementation of
IPreKeyRecordStructure.id
privateKey?
Defined in: WAProto/index.d.ts:10453optionalprivateKey:null|Uint8Array<ArrayBufferLike>
Implementation of
IPreKeyRecordStructure.privateKey
publicKey?
Defined in: WAProto/index.d.ts:10452optionalpublicKey:null|Uint8Array<ArrayBufferLike>
Implementation of
IPreKeyRecordStructure.publicKey
Methods
create()
Defined in: WAProto/index.d.ts:10454staticcreate(properties?):PreKeyRecordStructure
Parameters
properties?
IPreKeyRecordStructure
Returns
PreKeyRecordStructure
decode()
Defined in: WAProto/index.d.ts:10456staticdecode(r,l?):PreKeyRecordStructure
Parameters
r
Uint8Array<ArrayBufferLike> | Reader
l?
number
Returns
PreKeyRecordStructure
encode()
Defined in: WAProto/index.d.ts:10455staticencode(m,w?):Writer
Parameters
m
IPreKeyRecordStructure
w?
Writer
Returns
Writer
fromObject()
Defined in: WAProto/index.d.ts:10457staticfromObject(d):PreKeyRecordStructure
Parameters
d
Returns
PreKeyRecordStructure
getTypeUrl()
Defined in: WAProto/index.d.ts:10460staticgetTypeUrl(typeUrlPrefix?):string
Parameters
typeUrlPrefix?
string
Returns
string
toJSON()
toJSON(): object
Defined in: WAProto/index.d.ts:10459
Returns
object
toObject()
Defined in: WAProto/index.d.ts:10458statictoObject(m,o?):object
Parameters
m
PreKeyRecordStructure
o?
IConversionOptions
Returns
object