@japofc/baileys - v2.4.7
GitHub
npm
Preparing search index...
proto
SessionStructure
Chain
ChainKey
Class ChainKey
Implements
IChainKey
Index
Constructors
constructor
Properties
index?
key?
Methods
to
JSON
create
decode
encode
from
Object
get
Type
Url
to
Object
Constructors
constructor
new
ChainKey
(
p
?:
IChainKey
)
:
ChainKey
Parameters
Optional
p
:
IChainKey
Returns
ChainKey
Properties
Optional
index
index
?:
number
|
null
Optional
key
key
?:
Uint8Array
<
ArrayBufferLike
>
|
null
Methods
to
JSON
toJSON
()
:
{
[
k
:
string
]:
any
}
Returns
{
[
k
:
string
]:
any
}
Static
create
create
(
properties
?:
IChainKey
)
:
ChainKey
Parameters
Optional
properties
:
IChainKey
Returns
ChainKey
Static
decode
decode
(
r
:
Reader
|
Uint8Array
<
ArrayBufferLike
>
,
l
?:
number
)
:
ChainKey
Parameters
r
:
Reader
|
Uint8Array
<
ArrayBufferLike
>
Optional
l
:
number
Returns
ChainKey
Static
encode
encode
(
m
:
IChainKey
,
w
?:
Writer
)
:
Writer
Parameters
m
:
IChainKey
Optional
w
:
Writer
Returns
Writer
Static
from
Object
fromObject
(
d
:
{
[
k
:
string
]:
any
}
)
:
ChainKey
Parameters
d
:
{
[
k
:
string
]:
any
}
Returns
ChainKey
Static
get
Type
Url
getTypeUrl
(
typeUrlPrefix
?:
string
)
:
string
Parameters
Optional
typeUrlPrefix
:
string
Returns
string
Static
to
Object
toObject
(
m
:
ChainKey
,
o
?:
IConversionOptions
)
:
{
[
k
:
string
]:
any
}
Parameters
m
:
ChainKey
Optional
o
:
IConversionOptions
Returns
{
[
k
:
string
]:
any
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
index
key
Methods
to
JSON
create
decode
encode
from
Object
get
Type
Url
to
Object
GitHub
npm
@japofc/baileys - v2.4.7
Loading...