@rbxts/types 1.0.706 → 1.0.707
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -33376,8 +33376,8 @@ interface TextChannel extends Instance {
|
|
|
33376
33376
|
*/
|
|
33377
33377
|
SendAsync(this: TextChannel, message: string, metadata?: string): TextChatMessage;
|
|
33378
33378
|
readonly MessageReceived: RBXScriptSignal<(incomingMessage: TextChatMessage) => void>;
|
|
33379
|
-
OnIncomingMessage: (message: TextChatMessage) =>
|
|
33380
|
-
ShouldDeliverCallback: (message: TextChatMessage, textSource: TextSource) =>
|
|
33379
|
+
OnIncomingMessage: (message: TextChatMessage) => TextChatMessageProperties | undefined;
|
|
33380
|
+
ShouldDeliverCallback: (message: TextChatMessage, textSource: TextSource) => boolean;
|
|
33381
33381
|
}
|
|
33382
33382
|
|
|
33383
33383
|
interface TextChatCommand extends Instance {
|
|
@@ -33559,8 +33559,8 @@ interface TextChatService extends Instance {
|
|
|
33559
33559
|
readonly BubbleDisplayed: RBXScriptSignal<(partOrCharacter: BasePart | Model, textChatMessage: TextChatMessage) => void>;
|
|
33560
33560
|
readonly MessageReceived: RBXScriptSignal<(textChatMessage: TextChatMessage) => void>;
|
|
33561
33561
|
readonly SendingMessage: RBXScriptSignal<(textChatMessage: TextChatMessage) => void>;
|
|
33562
|
-
OnBubbleAdded: (message: TextChatMessage, adornee: Instance) =>
|
|
33563
|
-
OnIncomingMessage: (message: TextChatMessage) =>
|
|
33562
|
+
OnBubbleAdded: (message: TextChatMessage, adornee: Instance) => TextChatMessageProperties | undefined;
|
|
33563
|
+
OnIncomingMessage: (message: TextChatMessage) => TextChatMessageProperties | undefined;
|
|
33564
33564
|
}
|
|
33565
33565
|
|
|
33566
33566
|
/** Represents the result of a call to [TextService:FilterStringAsync](https://developer.roblox.com/en-us/api-reference/function/TextService/FilterStringAsync).
|