@rbxts/types 1.0.827 → 1.0.829
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.
- package/include/generated/None.d.ts +12 -3
- package/package.json +1 -1
|
@@ -35502,7 +35502,16 @@ interface TextChannel extends Instance {
|
|
|
35502
35502
|
* @param userId The userId of the `Player`.
|
|
35503
35503
|
* @returns Returns `TextSource` and `true` if a new `TextSource` is created for the user, `TextSource` and `false` if there is an existing `TextSource`, or `nil` and `false` if the user has chat off or is not in this server.
|
|
35504
35504
|
*/
|
|
35505
|
-
AddUserAsync(this: TextChannel, userId: number):
|
|
35505
|
+
AddUserAsync(this: TextChannel, userId: number): [
|
|
35506
|
+
source: TextSource,
|
|
35507
|
+
isNew: true
|
|
35508
|
+
] | [
|
|
35509
|
+
source: TextSource,
|
|
35510
|
+
isNew: false
|
|
35511
|
+
] | [
|
|
35512
|
+
source: undefined,
|
|
35513
|
+
isNew: false
|
|
35514
|
+
];
|
|
35506
35515
|
/**
|
|
35507
35516
|
* Sends a `TextChatMessage` to the server.
|
|
35508
35517
|
*
|
|
@@ -36556,7 +36565,7 @@ interface TextChatService extends Instance {
|
|
|
36556
36565
|
* @param adornee The part or character the bubble chat message is attached to.
|
|
36557
36566
|
* @returns If a `BubbleChatMessageProperties` is returned, its properties override the `BubbleChatConfiguration` properties.
|
|
36558
36567
|
*/
|
|
36559
|
-
OnBubbleAdded: (message: TextChatMessage, adornee: Instance) =>
|
|
36568
|
+
OnBubbleAdded: (message: TextChatMessage, adornee: Instance) => BubbleChatMessageProperties | undefined;
|
|
36560
36569
|
/**
|
|
36561
36570
|
* Called when a new message is about to be displayed in the chat window. This can only be implemented on the client.
|
|
36562
36571
|
*
|
|
@@ -36566,7 +36575,7 @@ interface TextChatService extends Instance {
|
|
|
36566
36575
|
* @param message The incoming `TextChatMessage`.
|
|
36567
36576
|
* @returns If a `ChatWindowMessageProperties` is returned, its properties override the `ChatWindowConfiguration` properties.
|
|
36568
36577
|
*/
|
|
36569
|
-
OnChatWindowAdded: (
|
|
36578
|
+
OnChatWindowAdded: (message: TextChatMessage) => ChatWindowMessageProperties | undefined;
|
|
36570
36579
|
/**
|
|
36571
36580
|
* Called when `TextChatService` is receiving an incoming message.
|
|
36572
36581
|
*
|