Im looking if there is a way to check what channel a user has focused, to determine what chat tag the users given. Is this even possible to check?

Im looking if there is a way to check what channel a user has focused, to determine what chat tag the users given. Is this even possible to check?

Roblox doesn’t provide a direct method for accessing this information, but there is a workaround.
local TextChatService = game:GetService("TextChatService")
local ChatInputBarConfiguration = TextChatService:FindFirstChildOfClass("ChatInputBarConfiguration")
if ChatInputBarConfiguration then
local currentFocusedChannel = ChatInputBarConfiguration.TargetTextChannel.Name
print("Focused channel: " .. currentFocusedChannel)
end
This workaround uses the TargetTextChannel property from the chat bar to get the current channel the user has focused. Hope this helps!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.