Class: PreKeyRecordStructure
Defined in: WAProto/index.d.ts:8074
Implements
Constructors
new PreKeyRecordStructure()
new PreKeyRecordStructure(
p
?):PreKeyRecordStructure
Defined in: WAProto/index.d.ts:8075
Parameters
p?
Returns
Properties
id
id:
number
Defined in: WAProto/index.d.ts:8076
Implementation of
privateKey
privateKey:
Uint8Array
Defined in: WAProto/index.d.ts:8078
Implementation of
IPreKeyRecordStructure
.privateKey
publicKey
publicKey:
Uint8Array
Defined in: WAProto/index.d.ts:8077
Implementation of
IPreKeyRecordStructure
.publicKey
Methods
create()
static
create(properties
?):PreKeyRecordStructure
Defined in: WAProto/index.d.ts:8079
Parameters
properties?
Returns
decode()
static
decode(r
,l
?):PreKeyRecordStructure
Defined in: WAProto/index.d.ts:8081
Parameters
r
Uint8Array
<ArrayBufferLike
> | Reader
l?
number
Returns
encode()
static
encode(m
,w
?):Writer
Defined in: WAProto/index.d.ts:8080
Parameters
m
w?
Writer
Returns
Writer
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:8082
Parameters
typeUrlPrefix?
string
Returns
string