The user's id (an old one) who changed their phone number Message with more information about the event. Indicates if the phone is plugged in (true) or not (false)Įmitted when the connection state changes Parameter NameĮmitted when a chat is archived/unarchived Parameters NameĮmitted when a chat is removed Parameter NameĮmitted when a contact or a group participant changes their phone number. Values in batteryInfo have the following properties: Name Sets bypassing of page's Content-Security-Policy.Įxtends EventEmitter Fires Client#event:qr Client#event:authenticated Client#event:auth_failure Client#event:ready Client#event:message Client#event:message_ack Client#event:message_create Client#event:message_revoke_me Client#event:message_revoke_everyone Client#event:media_uploaded Client#event:group_join Client#event:group_leave Client#event:group_update Client#event:disconnected Client#event:change_state Client#event:contact_changed Client#event:group_admin_changed Client#event:group_membership_request Property info ClientInfoĪsync unpinChat () → Promise containing booleanĮmitted when there has been an error while trying to restore an existing session Parameter NameĮmitted when authentication is successful change_batteryĮmitted when the battery percentage for the attached device changes. How much time to wait before taking over the sessionįfmpeg path to use when formating videos to webp while sending stickers If another whatsapp web session is detected (another browser), take over the session in the current browser You should move to using LocalAuth, or set the authStrategy to LegacySessionAuth explicitly. How many times should the qrcode be refreshed before giving This option should be set directly on the Only here for backwards-compatibility. Timeout for authentication selector in puppeteer Defaults to a local cache (LocalWebCache) that falls back to latest if the requested version is not found. Use options.webVersionCache to configure how the version is retrieved.ĭetermines how to retrieve the WhatsApp Web version. Will use LegacySessionAuth if ssion is set. Values in options have the following properties: Nameĭetermines how to save and restore sessions. Message_ack message_create message_edit message_reaction message_revoke_everyone message_revoke_me qr ready new Client (options) Parameters Name
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |