Poll
data class Poll(id: String, question: String, options: List<PollOption>, total_voter_count: Long, is_closed: Boolean, is_anonymous: Boolean, type: String, allows_multiple_answers: Boolean, correct_option_id: Long?, explanation: String?, explanation_entities: List<MessageEntity>?, open_period: Long?, close_date: Long?) : TelegramModel
Content copied to clipboard
This object contains information about a poll.
Constructors
Poll
Link copied to clipboard
fun Poll(id: String, question: String, options: List<PollOption>, total_voter_count: Long, is_closed: Boolean, is_anonymous: Boolean, type: String, allows_multiple_answers: Boolean, correct_option_id: Long? = null, explanation: String? = null, explanation_entities: List<MessageEntity>? = null, open_period: Long? = null, close_date: Long? = null)
Content copied to clipboard
Creates a Poll.
Properties
allows_multiple_answers
Link copied to clipboard
close_date
Link copied to clipboard
correct_option_id
Link copied to clipboard
explanation
Link copied to clipboard
explanation_entities
Link copied to clipboard
is_anonymous
Link copied to clipboard
open_period
Link copied to clipboard
options
Link copied to clipboard
total_voter_count
Link copied to clipboard