what functions are used to issue server and channel groups?

I searched on the forum.
They are not.
How to implement it?
You can sample code.