This commit is contained in:
hrxiang
2022-05-19 16:00:10 +08:00
parent 7457f182f3
commit e4c78e0106
2 changed files with 6 additions and 8 deletions

View File

@@ -608,11 +608,13 @@ class AttachedInfoElem {
/// 单聊有效
bool? isPrivateChat;
int? hasReadTime;
bool? notSenderNotificationPush;
AttachedInfoElem({
this.groupHasReadInfo,
this.isPrivateChat,
this.hasReadTime,
this.notSenderNotificationPush,
});
AttachedInfoElem.fromJson(Map<String, dynamic> json) {
@@ -621,6 +623,7 @@ class AttachedInfoElem {
: GroupHasReadInfo.fromJson(json['groupHasReadInfo']);
isPrivateChat = json['isPrivateChat'];
hasReadTime = json['hasReadTime'];
notSenderNotificationPush = json['notSenderNotificationPush'];
}
Map<String, dynamic> toJson() {
@@ -628,6 +631,7 @@ class AttachedInfoElem {
data['groupHasReadInfo'] = this.groupHasReadInfo?.toJson();
data['isPrivateChat'] = this.isPrivateChat;
data['hasReadTime'] = this.hasReadTime;
data['notSenderNotificationPush'] = this.notSenderNotificationPush;
return data;
}
}