no message
This commit is contained in:
@@ -47,6 +47,8 @@ class ConversationReq {
|
||||
final bool? isMsgDestruct;
|
||||
final int? msgDestructTime;
|
||||
final int? groupAtType;
|
||||
final String? channelID;
|
||||
final int? channelAtType;
|
||||
|
||||
ConversationReq({
|
||||
this.userID,
|
||||
@@ -59,6 +61,8 @@ class ConversationReq {
|
||||
this.isMsgDestruct,
|
||||
this.msgDestructTime,
|
||||
this.groupAtType,
|
||||
this.channelID,
|
||||
this.channelAtType,
|
||||
});
|
||||
|
||||
ConversationReq.fromJson(Map<String, dynamic> json)
|
||||
@@ -71,8 +75,11 @@ class ConversationReq {
|
||||
burnDuration = json['burnDuration'],
|
||||
isMsgDestruct = json['isMsgDestruct'],
|
||||
msgDestructTime = json['msgDestructTime'],
|
||||
channelID=json['channelID'],
|
||||
channelAtType = json['channelAtType'],
|
||||
groupAtType = json['groupAtType'];
|
||||
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final data = <String, dynamic>{};
|
||||
data['userID'] = userID;
|
||||
@@ -85,7 +92,8 @@ class ConversationReq {
|
||||
data['isMsgDestruct'] = isMsgDestruct;
|
||||
data['msgDestructTime'] = msgDestructTime;
|
||||
data['groupAtType'] = groupAtType;
|
||||
|
||||
data['channelID'] = channelID;
|
||||
data['channelAtType'] = channelAtType;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user