@open-wa/wa-automate-types-only 4.55.1 → 4.55.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -766,8 +766,10 @@ export declare class Client {
766
766
  * @param to chat id - a group chat is required
767
767
  * @param name the name of the poll
768
768
  * @param options an array of poll options
769
+ * @param quotedMsgId A message to quote when sending the poll
770
+ * @param allowMultiSelect Whether or not to allow multiple selections. default false
769
771
  */
770
- sendPoll(to: GroupChatId, name: string, options: string[]): Promise<MessageId>;
772
+ sendPoll(to: GroupChatId, name: string, options: string[], quotedMsgId?: MessageId, allowMultiSelect?: boolean): Promise<MessageId>;
771
773
  /**
772
774
  * Sends a video to given chat as a gif, with caption or not, using base64
773
775
  * @param to chat id `xxxxx@c.us`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.55.1",
3
+ "version": "4.55.4",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",