Class
TextChatMessageProperties
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#
PrefixTextstring | The TextChatMessage.PrefixText to override.ReadSafe |
Textstring | The TextChatMessage.Text to override.ReadSafe |
Translationstring | The 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
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild