Class · inherits Instance
TextChatMessageProperties
Overrides TextChatMessage properties when returned by callbacks
defined in TextChatService.OnIncomingMessage or
TextChannel.OnIncomingMessage.
About TextChatMessageProperties
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
PrefixText
: stringTheTextChatMessage.PrefixTextto override.Text
: stringTheTextChatMessage.Textto override.Translation
: stringTheTextChatMessage.Translationto override.The
TextChatMessage.Translationto override; represents automatically translated and filtered text messages based on players' localization settings.
TextChatMessageProperties also has every member of Instance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.