muteGroupMember method

  1. @override
Future<V2TimCallback> muteGroupMember({
  1. required String groupID,
  2. required String userID,
  3. required int seconds,
})
override

禁言(只有管理员或群主能够调用)

Implementation

@override
Future<V2TimCallback> muteGroupMember({
  required String groupID,
  required String userID,
  required int seconds,
}) async {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "muteGroupMember",
        buildGroupManagerParam(
          {
            "groupID": groupID,
            "userID": userID,
            "seconds": seconds,
          },
        ),
      ),
    ),
  );
}