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