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
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 watch: Boolean = true, val replyLimit: Int = 2, val participantLimit: Int = 100, val memberLimit: Int = 100, val limit: Int = 10, val next: 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
data class SendActionRequest(val channelId: String, val messageId: String, val type: String, val formData: Map<Any, Any>)