@open-wa/wa-automate-types-only 4.32.15 → 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.
- package/dist/api/Client.d.ts +9 -2
- package/package.json +1 -1
package/dist/api/Client.d.ts
CHANGED
@@ -1064,13 +1064,20 @@ export declare class Client {
|
|
1064
1064
|
* @param messageId Message ID of the message you want to star
|
1065
1065
|
* @returns `true`
|
1066
1066
|
*/
|
1067
|
-
starMessage(messageId
|
1067
|
+
starMessage(messageId: MessageId): Promise<boolean>;
|
1068
1068
|
/**
|
1069
1069
|
* Unstar a message
|
1070
1070
|
* @param messageId Message ID of the message you want to unstar
|
1071
1071
|
* @returns `true`
|
1072
1072
|
*/
|
1073
|
-
unstarMessage(messageId
|
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>;
|
1074
1081
|
/**
|
1075
1082
|
*
|
1076
1083
|
* [REQUIRES AN INSIDERS LICENSE-KEY](https://gum.co/open-wa?tier=Insiders%20Program)
|