Roblox UtilitiesDevlHub Roblox Documentation

Class

TextChatMessageProperties

Inherits
Instance › Object
Memory category
Instances
Subclasses
2

Overrides TextChatMessage properties when returned by callbacks defined in TextChatService.OnIncomingMessage or TextChannel.OnIncomingMessage.

Overrides TextChatMessage properties like ChatWindowMessageProperties and BubbleChatMessageProperties when returned by callbacks defined in TextChatService.OnIncomingMessage or TextChannel.OnIncomingMessage. These properties are useful for customizing the appearance of a message with rich text tags.

For sample code, see Assign chat tags.

If you return empty strings for any of these properties, TextChatService ignores them and doesn't override the original values.

Properties 3#

PrefixTextstringThe TextChatMessage.PrefixText to override.ReadSafe
TextstringThe TextChatMessage.Text to override.ReadSafe
TranslationstringThe TextChatMessage.Translation to override.ReadSafe

PrefixText: string#

ReadSafe

The TextChatMessage.PrefixText to override.

Text: string#

ReadSafe

The TextChatMessage.Text to override.

Translation: string#

ReadSafe

The TextChatMessage.Translation to override; represents automatically translated and filtered text messages based on players' localization settings.

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed

Subclasses 2#