You asked

Which lens for group portraits in a tiny dim room on a lumix gh5s?

For a tiny, dim room, the guide's advice for groups is a 35mm-equivalent lens with f/1.8 or faster, see The lenses. On the Lumix GH5S, a Micro Four Thirds body, that means a lens of about 17mm, since the crop factor is 2.0.

The Lumix GH5S page lists a 17mm that fits:

The GH5S has no in-body stabilisation, so in a dim room the shutter may be slow. Pair any of these with a stabilised lens if you want a sharp shot, and keep the aperture as wide as the group allows. Stabilisation steadies the camera, not people who are moving, so use faster shutter speeds if anyone is in motion.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.