PreviousMessageListQuery class Null safety

A query object to retrieve previous messages

Inheritance
Annotations

Constructors

PreviousMessageListQuery({required ChannelType channelType, required String channelUrl})

Properties

channelType ChannelType
Channel type
read / write
channelUrl String
Channel url
read / write
customTypesFilter List<String>
Restricts the search scope only to retrieve the messages with the specified custom message type.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
hasNext bool
True if query has next items to be queried
read / writeinherited
includeMetaArray bool
Determines whether to include the metaarray information of the messages in the results. default value is false
read / write
includeParentMessageInfo bool
Determines whether to include current message's parent information
read / write
includeParentMessageText bool?
Determines whether to include the parent message text in the results when the messages are replies in a thread. If the type of the parent message is UserMessage the value is a message. If it is FileMessage, the value is the name of the uploaded file. default value is false
read / write
includeReactions bool
Determines whether to include the reactions to the messages in the results. default value is false
read / write
includeReplies bool?
Determines whether to include the reactions to the messages in the results. default value is false
read / write
includeThreadInfo bool
Determines whether to include the thread information of the messages in the results when the results contain root messages. default value is false
read / write
limit int
number of item per executing loadNext
read / writeinherited
loading bool
True if query is loading
read / writeinherited
messageTypeFilter MessageTypeFilter
Restricts the search scope only to retrieve the messages with the specified message type.
read / write
replyType ReplyType
Determines message's reply type
read / write
reverse bool
Determines whether to sort the retrieved messages in reverse order. If false, the results recieves the oldest messages first.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
senderIdsFilter List<String>
Restricts the search scope only to retrieve the messages sent by the users with the specified user IDs.
read / write
showSubChannelMessagesOnly bool
Determines whether to retrieve sub channel messages on Dynamic Partitioning. This property is only working for OpenChannel
read / write
token String?
token for next query
read / writeinherited

Methods

loadNext() Future<List<BaseMessage>>
Load next items asynchronously
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited