Private channels

Hi! Sometimes, we need some group-related channels in the game. For example, channel where only members of specific guild can participate. And there's also need to make this channels private, so then members of different guilds cannot access private discussions of each other. Is there any kind of mechanism which works the same as custom authentication provider, but for each specific chat channel? If there's no such thing, how can we reach the same result by another way? Thank you.