MessageListParams class
Represents a message list params.
- Inheritance
-
- Object
- BaseMessageFetchParams
- MessageListParams
- Annotations
Constructors
Properties
-
customTypes
↔ List<
String> ? -
Restricts the search scope only to retrieve the messages that match any of given custom
types.
When the custom type filtering is not needed, the value should be set to null.
When a empty string is given, messages that does not have a custom type will also be
returned.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- includeMetaArray ↔ bool
-
Whether the meta arrays should be included in the results.
read / writeinherited
- includeParentMessageInfo ↔ bool
-
Whether the information of a parent message should be included in the reply messages included in the results.
read / writeinherited
- includeReactions ↔ bool
-
Whether the reaction data should be included in the results.
read / writeinherited
- includeThreadInfo ↔ bool
-
Whether the thread information should be included in the results.
read / writeinherited
- inclusive ↔ bool
-
Determines whether to include the messages sent exactly on the specified timestamp or have the matching message ID in the results.
read / write
- messageType ↔ MessageTypeFilter
-
Restricts the search scope only to retrieve the messages with the specified message type.
read / write
- nextResultSize ↔ int
-
The number of newer messages added either before the timestamp or the message that has a specific message ID.
read / write
- previousResultSize ↔ int
-
The number of previous messages added either before the timestamp or the message that has a specific message ID.
read / write
- replyType ↔ ReplyType?
-
Determines the reply types to include in the results.
read / writeinherited
- reverse ↔ bool
-
Determines whether to sort the retrieved messages in reverse order.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
senderIds
↔ List<
String> ? -
Restricts the search scope only to retrieve the messages sent by the users with the specified user IDs.
When the user ID filtering is not needed, the value should be set to null.
read / write
- showSubChannelMessagesOnly ↔ bool
-
Whether to show subChannel message only. Defaults to false.
This only takes effect when the requested channel is a dynamically partitioned OpenChannel.
read / write
Methods
-
copyWith(
BaseMessageFetchParams other) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited