Update
This commit is contained in:
@@ -790,7 +790,8 @@ class AttachedInfoElem {
|
||||
/// 已读时间
|
||||
int? hasReadTime;
|
||||
|
||||
/// 私聊消息保留时长
|
||||
/// 阅读时长 s
|
||||
/// 即从hasReadTime时间算起,超过了burnDuration秒触发销毁
|
||||
int? burnDuration;
|
||||
|
||||
/// 离线不发送推送
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user