How to utilize ChatChannelsBar?

I have two channels, one for moderators and one for presenters for an event. Some games let you switch between chat channels with the chat ui’s topbar, however the wiki documentation for it doesn’t seem to exist. The only other thread I can find on the anywhere was this one, but didn’t seem to get anywhere.

Is there any way to add the channels that I add people to on this topbar? It would be great if I didn’t need to fork ChatService, however I wouldn’t mind if I had to.

You dont need to :>
You can require the ChatService from any server side script using

local ChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner").ChatService)
-- we need to waitforchild since the ChatService doesn't instantly get dropped when scripts run

To make a channel use
local Channel = ChatService:AddChannel(channelName)

To get speakers use
local Speaker = ChatService:GetSpeaker(speakerName)

To add users to channels use
Speaker:JoinChannel(channelName)

Full Documentation

ChatService
ChatSpeaker
ChatChannel

And to turn on the channel bar you’ll need to fork the system to edit one module

ps yes roblox do need to include this in the documentation

No, you don’t need to, and shouldn’t either.

1 Like

Thank you! Makes things so much easier in the long run