@open-wa/wa-automate-types-only 4.32.13 → 4.32.16

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.
@@ -43,6 +43,7 @@ export declare class Client {
43
43
  private _onLogoutCallbacks;
44
44
  private _queues;
45
45
  private _autoEmojiSet;
46
+ private _autoEmojiQ;
46
47
  private _onLogoutSet;
47
48
  /**
48
49
  * This is used to track if a listener is already used via webhook. Before, webhooks used to be set once per listener. Now a listener can be set via multiple webhooks, or revoked from a specific webhook.
@@ -1063,13 +1064,20 @@ export declare class Client {
1063
1064
  * @param messageId Message ID of the message you want to star
1064
1065
  * @returns `true`
1065
1066
  */
1066
- starMessage(messageId?: ChatId): Promise<boolean>;
1067
+ starMessage(messageId: MessageId): Promise<boolean>;
1067
1068
  /**
1068
1069
  * Unstar a message
1069
1070
  * @param messageId Message ID of the message you want to unstar
1070
1071
  * @returns `true`
1071
1072
  */
1072
- unstarMessage(messageId?: ChatId): Promise<boolean>;
1073
+ unstarMessage(messageId: MessageId): Promise<boolean>;
1074
+ /**
1075
+ * React to a message
1076
+ * @param messageId Message ID of the message you want to react to
1077
+ * @param emoji 1 single emoji to add to the message as a reacion
1078
+ * @returns boolean
1079
+ */
1080
+ react(messageId: MessageId, emoji: string): Promise<boolean>;
1073
1081
  /**
1074
1082
  *
1075
1083
  * [REQUIRES AN INSIDERS LICENSE-KEY](https://gum.co/open-wa?tier=Insiders%20Program)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.32.13",
3
+ "version": "4.32.16",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",