ChatWindowConfiguration

Mostrar obsoleto

*Este contenido se traduce usando la IA (Beta) y puede contener errores. Para ver esta página en inglés, haz clic en aquí.

No creable

Configura las propiedades de la ventana de chat de texto predeterminada. Se le asigna a TextChatService .

Resumen

Propiedades

Métodos

Propiedades

AbsolutePosition

Solo lectura
No replicado

AbsoluteSize

Solo lectura
No replicado

BackgroundColor3

Leer paralelo

BackgroundTransparency

Leer paralelo

Enabled

Leer paralelo

FontFace

Leer paralelo

HeightScale

Leer paralelo

HorizontalAlignment

TextColor3

Leer paralelo

TextSize

Leer paralelo

TextStrokeColor3

Leer paralelo

TextStrokeTransparency

Leer paralelo

VerticalAlignment

WidthScale

Leer paralelo

Métodos

DeriveNewMessageProperties


Devuelve

Muestras de código

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

Eventos