Roblox UtilitiesDevlHub Roblox Documentation

Enum

ChatCallbackType

Identifies a hook point in the legacy Luau chat pipeline for use with Chat:RegisterChatCallback() and Chat:InvokeChatCallback().

Enumerates the callback hook points available in the legacy Luau chat system. Pass a value to Chat:RegisterChatCallback() to bind a function to the corresponding event, and to Chat:InvokeChatCallback() to invoke the registered function for that event. Each value targets either the client or the server; attempting to register a server-only callback on the client (or vice versa) raises an error.

Items 4#

NameValueSummary
OnCreatingChatWindow1Client-only callback invoked before the chat window is constructed, allowing custom settings to be supplied.
OnClientSendingMessage2Client-only callback reserved for when the client sends a message; not currently invoked.
OnClientFormattingMessage3Client-only callback invoked before a message is displayed, allowing its display data to be modified.
OnServerReceivingMessage17Server-only callback invoked when the server receives a message from a speaker, allowing the message to be modified or suppressed.