MessageRetrievalParams class Null safety

An object consists a set of parameters to retrieve information from a message.



MessageRetrievalParams({required ChannelType channelType, required String channelUrl, required int messageId})


channelType ChannelType
Specifies a type of the channel.
read / write
channelUrl String
Specifies the URL of a channel to retrieve a message.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
includeMetaArray bool
Determines whether the metaarray of the message is included in the results.
@JsonKey(name: 'with_sorted_meta_array'), read / write
includeParentMessageText bool
Determines whether to include the parent message text in the results when the message is a reply 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.
read / write
includeThreadInfo bool
Determines whether to include the thread information of the message when it is a parent message.
read / write
messageId int
Specifies the unique ID of a message to retrieve.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]