Class: SignedPreKeyRecordStructure
Defined in: WAProto/index.d.ts:9597
Implements
Constructors
new SignedPreKeyRecordStructure()
new SignedPreKeyRecordStructure(
p
?):SignedPreKeyRecordStructure
Defined in: WAProto/index.d.ts:9598
Parameters
p?
Returns
Properties
id?
optional
id:null
|number
Defined in: WAProto/index.d.ts:9599
Implementation of
ISignedPreKeyRecordStructure
.id
privateKey?
optional
privateKey:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:9601
Implementation of
ISignedPreKeyRecordStructure
.privateKey
publicKey?
optional
publicKey:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:9600
Implementation of
ISignedPreKeyRecordStructure
.publicKey
signature?
optional
signature:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:9602
Implementation of
ISignedPreKeyRecordStructure
.signature
timestamp?
optional
timestamp:null
|number
|Long
Defined in: WAProto/index.d.ts:9603
Implementation of
ISignedPreKeyRecordStructure
.timestamp
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:9609
Returns
object
create()
static
create(properties
?):SignedPreKeyRecordStructure
Defined in: WAProto/index.d.ts:9604
Parameters
properties?
Returns
decode()
static
decode(r
,l
?):SignedPreKeyRecordStructure
Defined in: WAProto/index.d.ts:9606
Parameters
r
Uint8Array
<ArrayBufferLike
> | Reader
l?
number
Returns
encode()
static
encode(m
,w
?):Writer
Defined in: WAProto/index.d.ts:9605
Parameters
m
w?
Writer
Returns
Writer
fromObject()
static
fromObject(d
):SignedPreKeyRecordStructure
Defined in: WAProto/index.d.ts:9607
Parameters
d
Returns
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:9610
Parameters
typeUrlPrefix?
string
Returns
string
toObject()
static
toObject(m
,o
?):object
Defined in: WAProto/index.d.ts:9608
Parameters
m
o?
IConversionOptions
Returns
object