Skip to content

ChatWindowMessageProperties

Not yet Class Scripting & Networking NotCreatable

Customizes the appearance of an individual text chat message displayed in the chat window.

Not implemented yet

This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.

0 Nova members · 15 modern Roblox members not implemented yet

Description

Can be used to customize the appearance of text chat messages sent to the ChatWindow. Inherits from Class.TextChatMessageProperies. To create a new ChatWindowMessageProperties instance, use ChatWindowConfiguration.DeriveNewMessageProperties() which will have the current properties from ChatWindowConfiguration.

local TextChatService = game:GetService("TextChatService")

local ChatWindowConfiguration = TextChatService:FindFirstChildOfClass("ChatWindowConfiguration")

TextChatService.OnChatWindowAdded = function(message: TextChatMessage)
  -- Derive chat message properties
  local properties = ChatWindowConfiguration:DeriveNewMessageProperties()

  -- Change color of message within the chat window
  properties.TextColor3 = Color3.fromRGB(255, 121, 121)

  return properties
end

Inheritance

Object → Instance → TextChatMessageProperties → ChatWindowMessageProperties

Properties

Member Signature Summary
FontFace FontFace: Font Font used to render text in the chat window.
PrefixTextProperties PrefixTextProperties: ChatWindowMessageProperties Determines the properties of the PrefixText preceding the chat message.
TextColor3 TextColor3: Color3 Color of the text in the chat window.
TextSize TextSize: int Size of the text in the chat window.
TextStrokeColor3 TextStrokeColor3: Color3 Stroke color applied to text in the chat window.
TextStrokeTransparency TextStrokeTransparency: double Transparency of the stroke applied to text in the chat window.

Roblox reference: ChatWindowMessageProperties

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.