Previous Message List Query Params
data class PreviousMessageListQueryParams @JvmOverloads constructor(var customTypesFilter: Collection<String>? = null, var messageTimestamp: Long = Long.MAX_VALUE, var reverse: Boolean = false, var messageTypeFilter: MessageTypeFilter = MessageTypeFilter.ALL, var senderUserIdsFilter: List<String>? = null, var replyType: ReplyType = ReplyType.NONE, var messagePayloadFilter: MessagePayloadFilter = MessagePayloadFilter(), var showSubchannelMessagesOnly: Boolean = false, var limit: Int = QUERY_DEFAULT_LIMIT)
Params for creating a PreviousMessageListQuery object.
Since
4.0.0
See also
Constructors
Link copied to clipboard
constructor(customTypesFilter: Collection<String>? = null, messageTimestamp: Long = Long.MAX_VALUE, reverse: Boolean = false, messageTypeFilter: MessageTypeFilter = MessageTypeFilter.ALL, senderUserIdsFilter: List<String>? = null, replyType: ReplyType = ReplyType.NONE, messagePayloadFilter: MessagePayloadFilter = MessagePayloadFilter(), showSubchannelMessagesOnly: Boolean = false, limit: Int = QUERY_DEFAULT_LIMIT)
Properties
Link copied to clipboard
The custom type filter of the message. When set, only messages with customType that equals to one of customTypes will be returned. When a customType is an empty string (""), all messages without a custom type will be returned.
Link copied to clipboard
MessagePayloadFilter to be used in retrieving message lists. This is more preferred way of setting other include flags.
Link copied to clipboard
The time of a request.
Link copied to clipboard
Message type filter. MessageTypeFilter
Link copied to clipboard
Sender user ids filter.
Link copied to clipboard
If set to true, only messages that belong to current user's subchannel is fetched. If set to false, all messages will be fetched. Default is false. Takes effect only when the requested channel is a dynamically partitioned open channel.