TextChatMessageProperties

Show Deprecated

Overrides TextChatMessage properties when returned by callbacks defined in TextChatService.OnIncomingMessage or TextChannel.OnIncomingMessage. This can be used to customize the appearance of a message with rich text tags.


local TextChatService = game:GetService("TextChatService")
TextChatService.OnIncomingMessage = function(message: TextChatMessage)
-- Derive chat message properties
local properties = TextChatService.ChatWindowConfiguration:DeriveNewMessageProperties()
-- Change color of message
properties.TextColor3 = Color3.fromRGB(255, 121, 121)
-- Set chat window message properties
message.ChatWindowMessageProperties = properties
return properties
end

Properties

PrefixText

Read Parallel

Text

Read Parallel

Translation

Read Parallel

Methods

Events