InputPollOption

@Serializable(with = InputPollOption.Companion::class)
data class InputPollOption constructor(val text: String, val parseMode: ParseMode?, val textSources: List<TextSource>) : TextedInput

Constructors

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

Link copied to clipboard
object Companion : KSerializer<InputPollOption>

Properties

Link copied to clipboard
@SerialName(value = "text_parse_mode")
val parseMode: ParseMode?
Link copied to clipboard
@SerialName(value = "text")
open override val text: String
Link copied to clipboard
@SerialName(value = "text_entities")
open override val textSources: List<TextSource>

Full list of TextSources