Multiple inputs -> Best practices

I have been looking for documentation regarding how to setup input/output channels but I have not been successful.
I’m working on a VST3 plugin where an arbitrary number of inputs can be configured based on a config file. As an example let’s say that I would like to create a plugin with 10 inputs.
I can see that there is a method called addAudioInput(STR(“some name”), SpeakerArr::). What is the best practice: Calling the AddAudioInput 10 times with speakerArr set to mono or calling addAudioInput once but with a speakerArr defined to include 10 speakers?
Does any have some documentation that explains the setup process?

/Tommy