toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.polls
/
PollAnswer
/
Anonymous
Anonymous
@
Serializable
data
class
Anonymous
(
val
pollId
:
PollId
,
val
voterChat
:
ChannelChat
,
val
chosen
:
List
<
Int
>
)
:
PollAnswer
Members
Constructors
Anonymous
Link copied to clipboard
constructor
(
pollId
:
PollId
,
voterChat
:
ChannelChat
,
chosen
:
List
<
Int
>
)
Types
Companion
Link copied to clipboard
object
Companion
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
voter
Chat
Link copied to clipboard
@
SerialName
(
value
=
"voter_chat"
)
val
voterChat
:
ChannelChat