@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.
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.57.0",
3
+ "version": "4.58.0",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",