RSIMMessage constructor

const RSIMMessage({
  1. required int conversationType,
  2. required String targetId,
  3. required String channelId,
  4. required int messageId,
  5. required int direction,
  6. required String senderId,
  7. required int sentStatus,
  8. required int receivedTime,
  9. required int sentTime,
  10. required String objectName,
  11. required String content,
  12. required String uid,
  13. required String extra,
  14. required bool isOffline,
  15. required int expiry,
  16. bool canIncludeExpansion = false,
  17. Map<String, String> expansion = const <String, String>{},
  18. bool disableNotification = false,
  19. bool needReceipt = false,
  20. bool hasReactions = false,
  21. RSIMPushConfig? pushConfig,
  22. RSIMReceivedStatus? receivedStatus,
  23. String? searchableWords,
  24. bool disableUpdateLastMessage = false,
  25. bool hasSentReceipt = false,
  26. RSIMMessageModifyInfo? modifyInfo,
  27. RSIMQuoteInfo? quoteInfo,
  28. RSIMReadReceiptInfo? readReceiptInfo,
  29. RSIMReadReceiptInfoV2? readReceiptInfoV2,
})

Implementation

const RSIMMessage({
  required this.conversationType,
  required this.targetId,
  required this.channelId,
  required this.messageId,
  required this.direction,
  required this.senderId,
  required this.sentStatus,
  required this.receivedTime,
  required this.sentTime,
  required this.objectName,
  required this.content,
  required this.uid,
  required this.extra,
  required this.isOffline,
  required this.expiry,
  this.canIncludeExpansion = false,
  this.expansion = const <String, String>{},
  this.disableNotification = false,
  this.needReceipt = false,
  this.hasReactions = false,
  this.pushConfig,
  this.receivedStatus,
  this.searchableWords,
  this.disableUpdateLastMessage = false,
  this.hasSentReceipt = false,
  this.modifyInfo,
  this.quoteInfo,
  this.readReceiptInfo,
  this.readReceiptInfoV2,
});