ChatWindowConfiguration

Show Deprecated
Not Creatable

Properties

AbsolutePosition

Read Only
Not Replicated

AbsoluteSize

Read Only
Not Replicated

BackgroundColor3

Read Parallel

BackgroundTransparency

Read Parallel

Enabled

Read Parallel

FontFace

Read Parallel

HeightScale

Read Parallel

HorizontalAlignment

TextColor3

Read Parallel

TextSize

Read Parallel

TextStrokeColor3

Read Parallel

TextStrokeTransparency

Read Parallel

VerticalAlignment

WidthScale

Read Parallel

Methods

DeriveNewMessageProperties


Returns

Code Samples

CanUsersDirectChatAsync

local TextChatService = game:GetService("TextChatService")
local directChatParticipants = TextChatService:CanUsersDirectChatAsync(userId1, { userId2 })
-- Check for eligible participants
if #directChatParticipants > 0 then
local directChannel = Instance.new("TextChannel")
directChannel.Parent = TextChatService
for _, participant in directChatParticipants do
directChannel:AddUserAsync(participant)
end
return directChannel
end
warn("Could not create TextChannel. Not enough eligible users.")
return nil

Events