muteGroupMember method
禁言(只有管理员或群主能够调用)
Implementation
@override
Future<V2TimCallback> muteGroupMember({
required String groupID,
required String userID,
required int seconds,
}) async {
Map<String, dynamic> param = {
"groupID": groupID,
"userID": userID,
"seconds": seconds,
};
var resp = V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"muteGroupMember",
buildGroupManagerParam(
param,
),
),
),
);
log("muteGroupMember", param, resp.toLogString());
return resp;
}