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