Package dev. inmo. tgbotapi. types. polls
Types
ApproximateScheduledCloseInfo
Link copied to clipboard
data class ApproximateScheduledCloseInfo(openDuration: TimeSpan, startPoint: DateTime) : ScheduledCloseInfo
Content copied to clipboard
ExactScheduledCloseInfo
Link copied to clipboard
data class ExactScheduledCloseInfo(closeDateTime: DateTime) : ScheduledCloseInfo
Content copied to clipboard
MultipleAnswersPoll
Link copied to clipboard
PollAnswer
Link copied to clipboard
data class PollAnswer(pollId: PollIdentifier, user: User, chosen: List<Int>)
Content copied to clipboard
PollOption
Link copied to clipboard
sealed class PollOption
Content copied to clipboard
PollOptionSerializer
Link copied to clipboard
PollSerializer
Link copied to clipboard
QuizPoll
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
RegularPoll
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
ScheduledCloseInfo
Link copied to clipboard
interface ScheduledCloseInfo
Content copied to clipboard
SimplePollOption
Link copied to clipboard
UnknownPollType
Link copied to clipboard
Functions
asApproximateScheduledCloseInfo
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