@open-wa/wa-automate-types-only 4.55.2 → 4.55.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api/Client.d.ts +3 -1
- package/package.json +1 -1
package/dist/api/Client.d.ts
CHANGED
@@ -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`
|