@rbxts/types 1.0.828 → 1.0.830
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/include/roblox.d.ts +5 -0
- package/package.json +1 -1
|
@@ -23004,7 +23004,7 @@ interface MarketplaceService extends Instance {
|
|
|
23004
23004
|
*
|
|
23005
23005
|
* @param options Not available at this time.
|
|
23006
23006
|
*/
|
|
23007
|
-
PromptBulkPurchase(this: MarketplaceService, player: Player, lineItems: Array<
|
|
23007
|
+
PromptBulkPurchase(this: MarketplaceService, player: Player, lineItems: Array<PromptBulkPurchaseItem>, options: object): void;
|
|
23008
23008
|
/**
|
|
23009
23009
|
* Prompts a user to purchase a bundle with the given `bundleId`.
|
|
23010
23010
|
*
|
|
@@ -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
|
*
|
package/include/roblox.d.ts
CHANGED
|
@@ -3320,6 +3320,11 @@ interface ExpirationDetails {
|
|
|
3320
3320
|
ExpirationReason: Enum.SubscriptionExpirationReason;
|
|
3321
3321
|
}
|
|
3322
3322
|
|
|
3323
|
+
interface PromptBulkPurchaseItem {
|
|
3324
|
+
Id: string;
|
|
3325
|
+
Type: Enum.MarketplaceProductType;
|
|
3326
|
+
}
|
|
3327
|
+
|
|
3323
3328
|
interface PromptBulkPurchaseFinishedResults {
|
|
3324
3329
|
RobuxSpent: number;
|
|
3325
3330
|
Items: Array<{
|