MessageSearchQuery
public struct MessageSearchQuery: Encodable
Inheritance
Encodable
Initializers
init(channelFilter:messageFilter:sort:pageSize:)
public init(
channelFilter: Filter<ChannelListFilterScope>,
messageFilter: Filter<MessageSearchFilterScope>,
sort: [Sorting<MessageSearchSortingKey>] = [],
pageSize: Int = .messagesPageSize
)
Properties
channelFilter
public let channelFilter: Filter<ChannelListFilterScope>
messageFilter
public let messageFilter: Filter<MessageSearchFilterScope>
sort
public let sort: [Sorting<MessageSearchSortingKey>]
pagination
public var pagination: Pagination?
Methods
encode(to:)
public func encode(to encoder: Encoder) throws