toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.polls
/
PollAnswer
/
Public
Public
@
Serializable
data
class
Public
(
val
pollId
:
PollId
,
val
user
:
User
,
val
chosen
:
List
<
Int
>
)
:
PollAnswer
Members
Constructors
Public
Link copied to clipboard
constructor
(
pollId
:
PollId
,
user
:
User
,
chosen
:
List
<
Int
>
)
Properties
chosen
Link copied to clipboard
@
SerialName
(
value
=
"option_ids"
)
open
override
val
chosen
:
List
<
Int
>
from
Link copied to clipboard
@
Transient
open
override
val
from
:
User
The source
User
of this type
poll
Id
Link copied to clipboard
@
SerialName
(
value
=
"poll_id"
)
open
override
val
pollId
:
PollId
user
Link copied to clipboard
@
SerialName
(
value
=
"user"
)
open
override
val
user
:
User