RSIMMessage class

Constructors

RSIMMessage({required int conversationType, required String targetId, required String channelId, required int messageId, required int direction, required String senderId, required int sentStatus, required int receivedTime, required int sentTime, required String objectName, required String content, required String uid, required String extra, required bool isOffline, required int expiry, bool canIncludeExpansion = false, Map<String, String> expansion = const <String, String>{}, bool disableNotification = false, bool needReceipt = false, bool hasReactions = false, RSIMPushConfig? pushConfig, RSIMReceivedStatus? receivedStatus, String? searchableWords, bool disableUpdateLastMessage = false, bool hasSentReceipt = false, RSIMMessageModifyInfo? modifyInfo, RSIMQuoteInfo? quoteInfo, RSIMReadReceiptInfo? readReceiptInfo, RSIMReadReceiptInfoV2? readReceiptInfoV2})
const
RSIMMessage.text({required int conversationType, required String targetId, String channelId = '', required String text})
factory

Properties

canIncludeExpansion → bool
final
channelId → String
final
content → String
final
conversationType → int
final
direction → int
final
disableNotification → bool
final
disableUpdateLastMessage → bool
final
expansion → Map<String, String>
final
expiry → int
final
extra → String
final
hashCode → int
The hash code for this object.
no setterinherited
hasReactions → bool
final
hasSentReceipt → bool
final
isOffline → bool
final
isTextMessage → bool
no setter
messageId → int
final
modifyInfo → RSIMMessageModifyInfo?
final
needReceipt → bool
final
objectName → String
final
pushConfig → RSIMPushConfig?
final
quoteInfo → RSIMQuoteInfo?
final
readReceiptInfo → RSIMReadReceiptInfo?
final
readReceiptInfoV2 → RSIMReadReceiptInfoV2?
final
receivedStatus → RSIMReceivedStatus?
final
receivedTime → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchableWords → String?
final
senderId → String
final
sentStatus → int
final
sentTime → int
final
targetId → String
final
text → String?
no setter
uid → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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

Constants

textObjectName → const String