@vanzxy/baileys 1.5.5 → 1.5.6
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.
Potentially problematic release.
This version of @vanzxy/baileys might be problematic. Click here for more details.
- package/lib/Utils/MessageBuilder.js +1150 -912
- package/lib/Utils/MessageBuilder_d.ts +16 -0
- package/package.json +1 -1
|
@@ -74,6 +74,19 @@ export class Button extends BaseBuilder {
|
|
|
74
74
|
addTransactionDetails(payload?: Record<string, any>): this;
|
|
75
75
|
/** mpm — multi-product message. Business-catalog accounts only. */
|
|
76
76
|
addMultiProduct(payload?: Record<string, any>): this;
|
|
77
|
+
addCardMessage(payload?: Record<string, any>): this;
|
|
78
|
+
addOrderDetails(payload?: Record<string, any>): this;
|
|
79
|
+
addOrderStatus(payload?: Record<string, any>): this;
|
|
80
|
+
addPaymentStatus(payload?: Record<string, any>): this;
|
|
81
|
+
addPaymentMethod(payload?: Record<string, any>): this;
|
|
82
|
+
addTrackOrder(id: string, display_text?: string): this;
|
|
83
|
+
addReorder(id: string, display_text?: string): this;
|
|
84
|
+
addCancelOrder(id: string, display_text?: string): this;
|
|
85
|
+
addClearChat(): this;
|
|
86
|
+
addNavigateToScreen(screen: string, data?: Record<string, any>): this;
|
|
87
|
+
addFlow(flow: Record<string, any>, display_text?: string): this;
|
|
88
|
+
addVoiceCall(id: string, display_text?: string): this;
|
|
89
|
+
addVideoCall(id: string, display_text?: string): this;
|
|
77
90
|
setLimitedTimeOffer(params?: LimitedTimeOfferParams): this;
|
|
78
91
|
setBottomSheet(params?: BottomSheetParams): this;
|
|
79
92
|
setTapTargetConfiguration(params?: TapTargetConfigurationParams): this;
|
|
@@ -147,6 +160,9 @@ export class AIRich extends BaseBuilder {
|
|
|
147
160
|
addText(text: string, options?: AddTextOptions): this;
|
|
148
161
|
addCode(language: string, code: string): this;
|
|
149
162
|
addTable(table: string[][], options?: AddTextOptions): this;
|
|
163
|
+
addLinks(links?: Record<string, any>[]): this;
|
|
164
|
+
addContentItems(items?: Record<string, any>[]): this;
|
|
165
|
+
addInlineVideo(): this;
|
|
150
166
|
addSource(sources?: Record<string, any>[], options?: { resolveUrl?: boolean }): this;
|
|
151
167
|
addReels(reelsItems?: Record<string, any>[], options?: { resolveUrl?: boolean }): this;
|
|
152
168
|
addImage(imageUrl: string, options?: { resolveUrl?: boolean }): this;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vanzxy/baileys",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.6",
|
|
4
4
|
"description": "Enhanced Baileys fork by Vanzxy — based on @itsliaaa/baileys + @whiskeysockets/baileys with fixes for audio group status and clean media without newsletter button.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./lib/index.js",
|