InboxMessage constructor
InboxMessage({
- String id = "",
- String ownerId = "",
- String profileName = "",
- String profileImgUrl = "",
- String text = "",
- int createdTime = 0,
- int seenTime = 0,
- AppMediaType type = AppMediaType.text,
- String mediaUrl = "",
- String referenceId = "",
- int audioDuration = 0,
- List<
String> likedProfiles = const [], - bool isPinned = false,
- String pollId = "",
- Map<
String, List< reactions = const {},String> > - String threadParentId = "",
- int replyCount = 0,
- Map<
String, dynamic> ? pollData, - String receivedMedia = "",
- Map<
String, dynamic> ? replyData, - Map<
String, dynamic> ? locationData, - Map<
String, dynamic> ? documentData, - Map<
String, dynamic> ? contactData, - String localFilePath = "",
- String deliveryStatus = "",
- int deliveredTime = 0,
- int editedTime = 0,
- bool isDeletedForEveryone = false,
- bool isForwarded = false,
- List<
String> starredByProfileIds = const [], - int hopCount = 0,
- double? distanceMeters,
Implementation
InboxMessage({
this.id = "",
this.ownerId = "",
this.profileName = "",
this.profileImgUrl = "",
this.text = "",
this.createdTime = 0,
this.seenTime = 0,
this.type = AppMediaType.text,
this.mediaUrl = "",
this.referenceId = "",
this.audioDuration = 0,
this.likedProfiles = const [],
this.isPinned = false,
this.pollId = "",
this.reactions = const {},
this.threadParentId = "",
this.replyCount = 0,
this.pollData,
this.receivedMedia = "",
this.replyData,
this.locationData,
this.documentData,
this.contactData,
this.localFilePath = "",
this.deliveryStatus = "",
this.deliveredTime = 0,
this.editedTime = 0,
this.isDeletedForEveryone = false,
this.hiddenForProfileIds = const [],
this.isForwarded = false,
this.starredByProfileIds = const [],
this.hopCount = 0,
this.distanceMeters,
});