@deathnaitsa/wa-api 1.0.19 → 1.0.21
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/dist/Messaging/index.d.ts +0 -13
- package/dist/Messaging/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { proto } from "@deathnaitsa/baileys";
|
|
2
|
-
import { SendMediaTypes, SendMessageTypes, SendReadTypes, SendTypingTypes } from "../Types";
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* Send a message to target
|
|
@@ -43,15 +42,3 @@ export declare function relayMessage(
|
|
|
43
42
|
content: any,
|
|
44
43
|
options?: import('@deathnaitsa/baileys').MiscMessageGenerationOptions
|
|
45
44
|
): Promise<string>;
|
|
46
|
-
/**
|
|
47
|
-
* Give typing effect to target
|
|
48
|
-
*
|
|
49
|
-
* Looks like human typing
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* @param sessionId - Session ID
|
|
53
|
-
* @param to - Target
|
|
54
|
-
* @param duration - Duration in miliseconds typing effect will appear
|
|
55
|
-
*/
|
|
56
|
-
export declare const readMessage: ({ sessionId, key }: SendReadTypes) => Promise<void>;
|
|
57
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/Messaging/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
23
23
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
26
|
+
exports.relayMessage = exports.sendMessage = void 0;
|
|
27
27
|
const Defaults_1 = require("../Defaults");
|
|
28
28
|
const Socket_1 = require("../Socket");
|
|
29
29
|
const Utils_1 = require("../Utils");
|