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