PollOption

data class PollOption(text: String, voter_count: Long) : TelegramModel

This object contains information about one answer option in a poll.

Constructors

PollOption
Link copied to clipboard
fun PollOption(text: String, voter_count: Long)
Creates a PollOption.

Properties

text
Link copied to clipboard
val text: String
Option text, 1-100 characters
voter_count
Link copied to clipboard
val voter_count: Long
Number of users that voted for this option