Package-level declarations
Types
Link copied to clipboard
data class GetThreadOptions @JvmOverloads constructor(val watch: Boolean = true, val replyLimit: Int = 2, val participantLimit: Int = 100, val memberLimit: Int = 100)
Query threads request.
Link copied to clipboard
Link copied to clipboard
Pagination options for getting pinned messages.
Link copied to clipboard
Link copied to clipboard
data class QueryChannelsRequest(val filter: FilterObject, var offset: Int = 0, var limit: Int, val querySort: QuerySorter<Channel> = QuerySortByField(), var messageLimit: Int = 0, var memberLimit: Int = 1) : ChannelRequest<QueryChannelsRequest>
Request body class for querying channels.
Link copied to clipboard
data class QueryThreadsRequest @JvmOverloads constructor(val filter: FilterObject? = null, val sort: QuerySorter<Thread> = DefaultSort, val watch: Boolean = true, val limit: Int = 10, val memberLimit: Int = 100, val next: String? = null, val participantLimit: Int = 100, val prev: String? = null, val replyLimit: Int = 2, val user: User? = null, val userId: String? = null)
Query threads request.
Link copied to clipboard
data class QueryUsersRequest @JvmOverloads constructor(var filter: FilterObject, val offset: Int, val limit: Int, var querySort: QuerySorter<User> = QuerySortByField(), var presence: Boolean = false)
Link copied to clipboard
data class SearchMessagesRequest @JvmOverloads constructor(val offset: Int?, val limit: Int?, val channelFilter: FilterObject, val messageFilter: FilterObject, val next: String? = null, val querySort: QuerySorter<Message>? = null)
Link copied to clipboard
Link copied to clipboard
data class UpdatePollRequest(val id: String, val name: String, val allowAnswers: Boolean? = null, val allowUserSuggestedOptions: Boolean? = null, val description: String? = null, val enforceUniqueVote: Boolean? = null, val isClosed: Boolean? = null, val maxVotesAllowed: Int? = null, val options: List<PollOption>? = null, val votingVisibility: VotingVisibility = VotingVisibility.PUBLIC, val extraData: Map<String, Any> = emptyMap())
Model holding request data for updating a poll.
Link copied to clipboard