Package dev. inmo. tgbotapi. types. polls
Types
Approximate Scheduled Close Info
Link copied to clipboard
data class ApproximateScheduledCloseInfo(openDuration: TimeSpan, startPoint: DateTime) : ScheduledCloseInfo
Content copied to clipboard
Exact Scheduled Close Info
Link copied to clipboard
data class ExactScheduledCloseInfo(closeDateTime: DateTime) : ScheduledCloseInfo
Content copied to clipboard
Multiple Answers Poll
Link copied to clipboard
Poll Answer
Link copied to clipboard
data class PollAnswer(pollId: PollIdentifier, user: User, chosen: List<Int>) : FromUser
Content copied to clipboard
Poll Option
Link copied to clipboard
Poll Option Serializer
Link copied to clipboard
Poll Serializer
Link copied to clipboard
Quiz Poll
Link copied to clipboard
data class QuizPoll(id: PollIdentifier, question: String, options: List<PollOption>, votesCount: Int, correctOptionId: Int?, text: String?, textSources: List<TextSource>, isClosed: Boolean, isAnonymous: Boolean, scheduledCloseInfo: ScheduledCloseInfo?) : Poll, TextedInput
Content copied to clipboard
Regular Poll
Link copied to clipboard
data class RegularPoll(id: PollIdentifier, question: String, options: List<PollOption>, votesCount: Int, isClosed: Boolean, isAnonymous: Boolean, allowMultipleAnswers: Boolean, scheduledCloseInfo: ScheduledCloseInfo?) : MultipleAnswersPoll
Content copied to clipboard
Scheduled Close Info
Link copied to clipboard
Simple Poll Option
Link copied to clipboard
Unknown Poll Type
Link copied to clipboard
Functions
as Approximate Scheduled Close Info
Link copied to clipboard
fun LongSeconds.asApproximateScheduledCloseInfo(startPoint: DateTime): ApproximateScheduledCloseInfo
Content copied to clipboard
Properties
asApproximateScheduledCloseInfo
Link copied to clipboard
val LongSeconds.asApproximateScheduledCloseInfo: ApproximateScheduledCloseInfo
Content copied to clipboard
asExactScheduledCloseInfo
Link copied to clipboard