toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.polls
/
InputPollOption
Input
Poll
Option
@
Serializable
(
with
=
InputPollOption.Companion::class
)
data
class
InputPollOption
constructor
(
val
text
:
String
,
val
parseMode
:
ParseMode
?
,
val
textSources
:
List
<
TextSource
>
)
:
TextedInput
Members
Constructors
Input
Poll
Option
Link copied to clipboard
constructor
(
text
:
String
,
parseMode
:
ParseMode
?
=
null
)
constructor
(
textSources
:
List
<
TextSource
>
)
constructor
(
builderBody
:
EntitiesBuilderBody
)
constructor
(
text
:
String
,
parseMode
:
ParseMode
?
,
textSources
:
List
<
TextSource
>
)
Types
Companion
Link copied to clipboard
object
Companion
:
KSerializer
<
InputPollOption
>
Properties
parse
Mode
Link copied to clipboard
@
SerialName
(
value
=
"text_parse_mode"
)
val
parseMode
:
ParseMode
?
text
Link copied to clipboard
@
SerialName
(
value
=
"text"
)
open
override
val
text
:
String
text
Sources
Link copied to clipboard
@
SerialName
(
value
=
"text_entities"
)
open
override
val
textSources
:
List
<
TextSource
>
Full list of
TextSource
s