@rbxts/types 1.0.828 → 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.
@@ -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): unknown;
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) => TextChatMessageProperties | undefined;
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
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.828",
3
+ "version": "1.0.829",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },