toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.polls
/
SimplePollOption
Simple
Poll
Option
@
Serializable
data
class
SimplePollOption
(
val
text
:
String
,
val
votes
:
Int
=
0
)
:
PollOption
Members
Constructors
Simple
Poll
Option
Link copied to clipboard
constructor
(
text
:
String
,
votes
:
Int
=
0
)
Properties
text
Link copied to clipboard
@
SerialName
(
value
=
"text"
)
open
override
val
text
:
String
votes
Link copied to clipboard
@
SerialName
(
value
=
"voter_count"
)
open
override
val
votes
:
Int
=
0