@open-wa/wa-automate-types-only 4.57.0 → 4.58.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api/Client.d.ts +10 -0
- package/package.json +1 -1
package/dist/api/Client.d.ts
CHANGED
@@ -549,6 +549,16 @@ export declare class Client {
|
|
549
549
|
* @param mentions You can optionally add an array of contact IDs to tag only specific people
|
550
550
|
*/
|
551
551
|
sendTextWithMentions(to: ChatId, content: Content, hideTags?: boolean, mentions?: ContactId[]): Promise<boolean | MessageId>;
|
552
|
+
/**
|
553
|
+
* NOTE: This is experimental, most accounts do not have access to this feature in their apps.
|
554
|
+
*
|
555
|
+
* Edit an existing message
|
556
|
+
*
|
557
|
+
* @param messageId The message ID to edit
|
558
|
+
* @param text The new text content
|
559
|
+
* @returns
|
560
|
+
*/
|
561
|
+
editMessage(messageId: MessageId, text: Content): Promise<boolean | MessageId>;
|
552
562
|
/**
|
553
563
|
* [UNTESTED - REQUIRES FEEDBACK]
|
554
564
|
* Sends a payment request message to given chat
|