muteGroupMember method

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

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

Implementation

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