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