This commit is contained in:
hrxiang
2022-11-25 17:03:50 +08:00
parent 099cb9849a
commit b8a51374a3
13 changed files with 89 additions and 9 deletions

View File

@@ -790,7 +790,8 @@ class AttachedInfoElem {
/// 已读时间
int? hasReadTime;
/// 私聊消息保留时长
/// 阅读时长 s
/// 即从hasReadTime时间算起超过了burnDuration秒触发销毁
int? burnDuration;
/// 离线不发送推送

View File

@@ -224,3 +224,22 @@ class Participant {
return data;
}
}
class CustomSignaling {
String? roomID;
String? customInfo;
CustomSignaling({this.roomID, this.customInfo});
CustomSignaling.fromJson(Map<String, dynamic> json) {
roomID = json['roomID'];
customInfo = json['customInfo'];
}
Map<String, dynamic> toJson() {
final data = Map<String, dynamic>();
data['roomID'] = roomID;
data['customInfo'] = customInfo;
return data;
}
}