Class: PreKeyRecordStructure
Defined in: WAProto/index.d.ts:9004
Implements
Constructors
new PreKeyRecordStructure()
new PreKeyRecordStructure(
p?):PreKeyRecordStructure
Defined in: WAProto/index.d.ts:9005
Parameters
p?
Returns
Properties
id?
optionalid:null|number
Defined in: WAProto/index.d.ts:9006
Implementation of
privateKey?
optionalprivateKey:null|Uint8Array<ArrayBufferLike>
Defined in: WAProto/index.d.ts:9008
Implementation of
IPreKeyRecordStructure.privateKey
publicKey?
optionalpublicKey:null|Uint8Array<ArrayBufferLike>
Defined in: WAProto/index.d.ts:9007
Implementation of
IPreKeyRecordStructure.publicKey
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:9014
Returns
object
create()
staticcreate(properties?):PreKeyRecordStructure
Defined in: WAProto/index.d.ts:9009
Parameters
properties?
Returns
decode()
staticdecode(r,l?):PreKeyRecordStructure
Defined in: WAProto/index.d.ts:9011
Parameters
r
Uint8Array<ArrayBufferLike> | Reader
l?
number
Returns
encode()
staticencode(m,w?):Writer
Defined in: WAProto/index.d.ts:9010
Parameters
m
w?
Writer
Returns
Writer
fromObject()
staticfromObject(d):PreKeyRecordStructure
Defined in: WAProto/index.d.ts:9012
Parameters
d
Returns
getTypeUrl()
staticgetTypeUrl(typeUrlPrefix?):string
Defined in: WAProto/index.d.ts:9015
Parameters
typeUrlPrefix?
string
Returns
string
toObject()
statictoObject(m,o?):object
Defined in: WAProto/index.d.ts:9013
Parameters
m
o?
IConversionOptions
Returns
object