Depends on the energy requirement of the appliances connected.
Most standard heating boilers will be run on 15mm, because that's all they need.
Combi boilers in general need between 2 and 4 times the amount of gas to run a full throttle, so need a bigger pipe.
As bear says, needs to be done properly, unlike in my house when we moved in, gggrrr!
Say you have a 32kw combi, plus a gas hob of maybe 9kw, then a 2.5kw gas fire.
That's a combined total of 43.5kw, which must be taken into account or they will starve and not run properly.
The boiler will need a 22mm pipe, I know because I've done a few, but the rest could need upgrading to suit. You might then need 28mm to branch off into 10/15mm for the hob, and 22mm for the boiler.
simples 😯