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