discontinuedPackage tencent_im_sdk_plugin has been discontinued and replaced by tencent_cloud_chat_sdk.

V2TimMessage constructor

V2TimMessage({
  1. String? msgID,
  2. int? timestamp,
  3. int? progress,
  4. String? sender,
  5. String? nickName,
  6. String? friendRemark,
  7. String? faceUrl,
  8. String? nameCard,
  9. String? groupID,
  10. String? userID,
  11. int? status,
  12. required int elemType,
  13. V2TimTextElem? textElem,
  14. V2TimCustomElem? customElem,
  15. V2TimImageElem? imageElem,
  16. V2TimSoundElem? soundElem,
  17. V2TimVideoElem? videoElem,
  18. V2TimFileElem? fileElem,
  19. V2TimLocationElem? locationElem,
  20. V2TimFaceElem? faceElem,
  21. V2TimGroupTipsElem? groupTipsElem,
  22. V2TimMergerElem? mergerElem,
  23. String? localCustomData,
  24. int? localCustomInt,
  25. String? cloudCustomData,
  26. bool? isSelf,
  27. bool? isRead,
  28. bool? isPeerRead,
  29. int? priority,
  30. OfflinePushInfo? offlinePushInfo,
  31. List<String>? groupAtUserList,
  32. String? seq,
  33. int? random,
  34. bool? isExcludedFromUnreadCount,
  35. bool? isExcludedFromLastMessage,
  36. bool? isSupportMessageExtension,
  37. String? messageFromWeb,
  38. String? id,
  39. bool? needReadReceipt,
})

Implementation

V2TimMessage({
  this.msgID,
  this.timestamp,
  this.progress,
  this.sender,
  this.nickName,
  this.friendRemark,
  this.faceUrl,
  this.nameCard,
  this.groupID,
  this.userID,
  this.status,
  required this.elemType,
  this.textElem,
  this.customElem,
  this.imageElem,
  this.soundElem,
  this.videoElem,
  this.fileElem,
  this.locationElem,
  this.faceElem,
  this.groupTipsElem,
  this.mergerElem,
  this.localCustomData,
  this.localCustomInt,
  this.cloudCustomData,
  this.isSelf,
  this.isRead,
  this.isPeerRead,
  this.priority,
  this.offlinePushInfo,
  this.groupAtUserList,
  this.seq,
  this.random,
  this.isExcludedFromUnreadCount,
  this.isExcludedFromLastMessage,
  this.isSupportMessageExtension,
  this.messageFromWeb,
  this.id,
  this.needReadReceipt,
});