@gamastudio/sendwave-provider 0.0.6 → 0.0.7

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.
@@ -7,5 +7,7 @@ export interface ParsedMessage {
7
7
  type: string;
8
8
  media?: string;
9
9
  caption?: string;
10
- originalPayload: any;
10
+ originalPayload: {
11
+ key: any;
12
+ };
11
13
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamastudio/sendwave-provider",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Librería para interactuar con Sendwave usando configuración dinámica.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -48,6 +48,7 @@ export declare class SendWaveProvider extends ProviderClass<SendWaveCore> {
48
48
  sendButton(...args: Parameters<SenderMessage["sendButton"]>): Promise<import("axios").AxiosResponse<any, any, {}> | undefined>;
49
49
  sendReaction(...args: Parameters<SenderMessage["sendReaction"]>): Promise<import("axios").AxiosResponse<any, any, {}> | undefined>;
50
50
  sendLocation(...args: Parameters<SenderMessage["sendLocation"]>): Promise<import("axios").AxiosResponse<any, any, {}> | undefined>;
51
+ sendMedia(...args: Parameters<SenderMessage["sendMedia"]>): Promise<import("axios").AxiosResponse<any, any, {}> | undefined>;
51
52
  /**
52
53
  * Reset user timeout for queue flow system
53
54
  */
@@ -314,6 +314,9 @@ class SendWaveProvider extends bot_1.ProviderClass {
314
314
  sendLocation(...args) {
315
315
  return this.sender.sendLocation(...args);
316
316
  }
317
+ sendMedia(...args) {
318
+ return this.sender.sendMedia(...args);
319
+ }
317
320
  // Queue Flow Management Methods
318
321
  /**
319
322
  * Reset user timeout for queue flow system
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamastudio/sendwave-provider",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Librería para interactuar con Sendwave usando configuración dinámica.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",