Package-level declarations
Types
Link copied to clipboard
data class PollOptionVotesViewState(val option: Option, val voteCount: Int, val isWinner: Boolean, val isLoading: Boolean = true, val results: List<Vote> = emptyList(), val canLoadMore: Boolean = true, val isLoadingMore: Boolean = false)
Represents the state of the poll option votes view for a specific poll option.
Link copied to clipboard
data class PollResultsViewState(val pollName: String, val results: List<PollResultsViewState.ResultItem>)
Represents the state of the poll results view.
Link copied to clipboard
Link copied to clipboard
Holds the state of the poll.
Link copied to clipboard
data class SelectedPoll(val poll: Poll, val message: Message, val pollSelectionType: PollSelectionType)