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