From 89f897e59e7e031ee9839955d3acaa0f377a5e74 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 8 Jan 2024 11:06:28 +0000 Subject: [PATCH] deploy: 27cb5bdeea65f01c7c33ffdd030e64918e4da35d --- classes/whatsapp.AggReactionsCollection.html | 8 ++++---- classes/whatsapp.AggReactionsModel.html | 8 ++++---- classes/whatsapp.AttachMediaModel.html | 8 ++++---- classes/whatsapp.BaseCollection.html | 8 ++++---- classes/whatsapp.BlocklistCollection.html | 8 ++++---- classes/whatsapp.BlocklistModel.html | 8 ++++---- .../whatsapp.BusinessCategoriesResultCollection.html | 8 ++++---- classes/whatsapp.BusinessCategoriesResultModel.html | 8 ++++---- classes/whatsapp.BusinessProfileCollection.html | 8 ++++---- classes/whatsapp.BusinessProfileModel.html | 8 ++++---- classes/whatsapp.ButtonCollection.html | 8 ++++---- classes/whatsapp.CallCollection.html | 8 ++++---- classes/whatsapp.CallModel.html | 8 ++++---- classes/whatsapp.CallParticipantModel.html | 8 ++++---- classes/whatsapp.CartCollection.html | 8 ++++---- classes/whatsapp.CartItemCollection.html | 8 ++++---- classes/whatsapp.CartItemModel.html | 8 ++++---- classes/whatsapp.CartModel.html | 8 ++++---- classes/whatsapp.CatalogCollection.html | 8 ++++---- classes/whatsapp.CatalogModel.html | 8 ++++---- classes/whatsapp.ChatCollection.html | 8 ++++---- classes/whatsapp.ChatModel.html | 8 ++++---- classes/whatsapp.ChatPreferenceModel.html | 8 ++++---- classes/whatsapp.ChatstateCollection.html | 8 ++++---- classes/whatsapp.ChatstateModel.html | 8 ++++---- classes/whatsapp.CmdClass.html | 8 ++++---- classes/whatsapp.Collection.html | 8 ++++---- classes/whatsapp.ConnModel.html | 8 ++++---- classes/whatsapp.ContactCollection.html | 8 ++++---- classes/whatsapp.ContactModel.html | 8 ++++---- classes/whatsapp.ConversionTupleModel.html | 8 ++++---- classes/whatsapp.EmojiVariantCollection.html | 8 ++++---- classes/whatsapp.EmojiVariantModel.html | 8 ++++---- classes/whatsapp.EventEmitter.html | 8 ++++---- classes/whatsapp.GroupMetadataCollection.html | 8 ++++---- classes/whatsapp.GroupMetadataModel.html | 8 ++++---- classes/whatsapp.HistorySyncProgressModel.html | 8 ++++---- classes/whatsapp.LabelCollection.html | 8 ++++---- classes/whatsapp.LabelItemCollection.html | 8 ++++---- classes/whatsapp.LabelItemModel.html | 8 ++++---- classes/whatsapp.LabelModel.html | 8 ++++---- classes/whatsapp.MediaDataModel.html | 8 ++++---- classes/whatsapp.Model.html | 8 ++++---- classes/whatsapp.ModelChatBase.html | 8 ++++---- classes/whatsapp.MsgButtonReplyMsgModel.html | 8 ++++---- classes/whatsapp.MsgCollection.html | 8 ++++---- classes/whatsapp.MsgInfoCollection.html | 8 ++++---- classes/whatsapp.MsgInfoModel.html | 8 ++++---- classes/whatsapp.MsgInfoParticipantCollection.html | 8 ++++---- classes/whatsapp.MsgInfoParticipantModel.html | 8 ++++---- classes/whatsapp.MsgLoad.html | 8 ++++---- classes/whatsapp.MsgLoadState.html | 8 ++++---- classes/whatsapp.MsgModel.html | 12 ++++++------ classes/whatsapp.MuteCollection.html | 8 ++++---- classes/whatsapp.MuteModel.html | 8 ++++---- classes/whatsapp.NetworkStatusModel.html | 8 ++++---- classes/whatsapp.OrderCollection.html | 8 ++++---- classes/whatsapp.OrderItemCollection.html | 8 ++++---- classes/whatsapp.OrderItemModel.html | 8 ++++---- classes/whatsapp.OrderModel.html | 8 ++++---- classes/whatsapp.ParticipantCollection.html | 8 ++++---- classes/whatsapp.ParticipantModel.html | 8 ++++---- classes/whatsapp.PresenceCollection.html | 8 ++++---- classes/whatsapp.PresenceModel.html | 8 ++++---- classes/whatsapp.ProductCollCollection.html | 8 ++++---- classes/whatsapp.ProductCollModel.html | 8 ++++---- classes/whatsapp.ProductCollection.html | 8 ++++---- classes/whatsapp.ProductImageCollection.html | 8 ++++---- classes/whatsapp.ProductImageModel.html | 8 ++++---- classes/whatsapp.ProductMessageListCollection.html | 8 ++++---- classes/whatsapp.ProductMessageListModel.html | 8 ++++---- classes/whatsapp.ProductModel.html | 8 ++++---- classes/whatsapp.ProfilePicThumbCollection.html | 8 ++++---- classes/whatsapp.ProfilePicThumbModel.html | 8 ++++---- classes/whatsapp.QuickReplyCollection.html | 8 ++++---- classes/whatsapp.QuickReplyModel.html | 8 ++++---- classes/whatsapp.ReactionsCollection.html | 8 ++++---- classes/whatsapp.ReactionsModel.html | 8 ++++---- classes/whatsapp.ReactionsSendersCollection.html | 8 ++++---- classes/whatsapp.ReactionsSendersModel.html | 8 ++++---- classes/whatsapp.RecentEmojiCollection.html | 8 ++++---- classes/whatsapp.RecentEmojiModel.html | 8 ++++---- classes/whatsapp.RecentStickerCollection.html | 8 ++++---- classes/whatsapp.RecentStickerModel.html | 8 ++++---- classes/whatsapp.ReplyButtonModel.html | 8 ++++---- classes/whatsapp.ServerPropsModel.html | 8 ++++---- classes/whatsapp.SocketModel.html | 10 +++++----- classes/whatsapp.StarredMsgCollection.html | 8 ++++---- classes/whatsapp.StatusCollection.html | 8 ++++---- classes/whatsapp.StatusModel.html | 8 ++++---- classes/whatsapp.StatusV3Collection.html | 8 ++++---- classes/whatsapp.StatusV3Model.html | 8 ++++---- classes/whatsapp.StickerCollection.html | 8 ++++---- classes/whatsapp.StickerModel.html | 8 ++++---- classes/whatsapp.StickerPackCollection.html | 8 ++++---- classes/whatsapp.StickerPackModel.html | 8 ++++---- classes/whatsapp.StickerSearchCollection.html | 8 ++++---- classes/whatsapp.StreamModel.html | 8 ++++---- classes/whatsapp.TemplateButtonCollection.html | 8 ++++---- classes/whatsapp.TemplateButtonModel.html | 8 ++++---- classes/whatsapp.UnreadMentionModel.html | 8 ++++---- functions/ev.addListener.html | 2 +- functions/ev.emit.html | 2 +- functions/ev.emitAsync.html | 2 +- functions/ev.eventNames.html | 2 +- functions/ev.hasListeners.html | 2 +- functions/ev.listenerCount.html | 2 +- functions/ev.listeners.html | 2 +- functions/ev.many.html | 4 ++-- functions/ev.off.html | 2 +- functions/ev.on.html | 4 ++-- functions/ev.once.html | 4 ++-- functions/ev.prependListener.html | 4 ++-- functions/ev.prependMany.html | 4 ++-- functions/ev.prependOnceListener.html | 4 ++-- functions/ev.removeAllListeners.html | 2 +- functions/ev.removeListener.html | 2 +- functions/ev.waitFor.html | 6 +++--- functions/whatsapp.Base64.encodeB64.html | 2 +- functions/whatsapp.Base64.encodeB64UrlSafe.html | 2 +- functions/whatsapp.Base64.sizeWhenB64Decoded.html | 2 +- interfaces/chat.ScheduledCallMessageOptions.html | 4 ++-- interfaces/ev.ConnEventTypes.html | 4 ++-- interfaces/status.TextStatusOptions.html | 4 ++-- 124 files changed, 441 insertions(+), 441 deletions(-) diff --git a/classes/whatsapp.AggReactionsCollection.html b/classes/whatsapp.AggReactionsCollection.html index f49278d0fa..c6e0f64f0e 100644 --- a/classes/whatsapp.AggReactionsCollection.html +++ b/classes/whatsapp.AggReactionsCollection.html @@ -100,7 +100,7 @@

Whatsapp

981130 >= 2.2222.8

Type Parameters

Parameters

Returns U[]

Returns U

Returns boolean

Returns boolean

Generated using TypeDoc

Function addListener

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.emit.html b/functions/ev.emit.html index 97dde190e0..ca36954e3c 100644 --- a/functions/ev.emit.html +++ b/functions/ev.emit.html @@ -1,4 +1,4 @@ -emit | @wppconnect/wa-js - v2.28.1
  • Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns boolean

Generated using TypeDoc

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.emitAsync.html b/functions/ev.emitAsync.html index c0e1a85b7c..99f7022a98 100644 --- a/functions/ev.emitAsync.html +++ b/functions/ev.emitAsync.html @@ -1,4 +1,4 @@ -emitAsync | @wppconnect/wa-js - v2.28.1
  • Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns Promise<any[]>

Generated using TypeDoc

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.eventNames.html b/functions/ev.eventNames.html index 864f1dfa9a..a44de0e766 100644 --- a/functions/ev.eventNames.html +++ b/functions/ev.eventNames.html @@ -1,6 +1,6 @@ eventNames | @wppconnect/wa-js - v2.28.1
  • Returns an array listing the events for which the emitter has registered listeners.

    Note: Listeners order not guaranteed

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    • Optional nsAsArray: boolean

    Returns Name[]

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.hasListeners.html b/functions/ev.hasListeners.html index 0d9e5d2eaa..a506d807b6 100644 --- a/functions/ev.hasListeners.html +++ b/functions/ev.hasListeners.html @@ -1,5 +1,5 @@ hasListeners | @wppconnect/wa-js - v2.28.1

Function hasListeners

  • Checks whether emitter has any listeners.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    • Optional event: Name

    Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.listenerCount.html b/functions/ev.listenerCount.html index e68ac800eb..3c4895fc8e 100644 --- a/functions/ev.listenerCount.html +++ b/functions/ev.listenerCount.html @@ -1,4 +1,4 @@ -listenerCount | @wppconnect/wa-js - v2.28.1

Function listenerCount

  • Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    • Optional event: Name

    Returns number

Generated using TypeDoc

Function listenerCount

  • Type Parameters

    • Name extends "blocklist.sync" | "call.incoming_call" | (keyof ChatEventTypes) | "config.update" | (keyof ConnEventTypes) | "group.participant_changed" | "order.payment_status" | "status.sync" | (keyof WebpackEvents) | "alfa" | "beta"

    Parameters

    • Optional event: Name

    Returns number

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.listeners.html b/functions/ev.listeners.html index 924048609d..eb7dad376b 100644 --- a/functions/ev.listeners.html +++ b/functions/ev.listeners.html @@ -1,5 +1,5 @@ listeners | @wppconnect/wa-js - v2.28.1
  • Returns an array of listeners for the specified event. This array can be manipulated, e.g. to remove listeners.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    • Optional event: Name

    Returns ListenerFn[]

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.many.html b/functions/ev.many.html index c7cc855ee9..9b42b1db48 100644 --- a/functions/ev.many.html +++ b/functions/ev.many.html @@ -1,6 +1,6 @@ many | @wppconnect/wa-js - v2.28.1
  • Adds a listener that will execute n times for the event before being removed. The listener is invoked only the first n times the event is fired, after which it is removed.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns Listener

  • Adds a listener that will execute n times for the event before being removed. The listener is invoked only the first n times the event is fired, after which it is removed.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns this

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.off.html b/functions/ev.off.html index ae59932bbc..29133464f7 100644 --- a/functions/ev.off.html +++ b/functions/ev.off.html @@ -1,5 +1,5 @@ off | @wppconnect/wa-js - v2.28.1
  • Remove a listener from the listener array for the specified event. Caution: Calling this method changes the array indices in the listener array behind the listener.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns this

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.on.html b/functions/ev.on.html index 419d3dcfcc..7958f08a59 100644 --- a/functions/ev.on.html +++ b/functions/ev.on.html @@ -1,6 +1,6 @@ on | @wppconnect/wa-js - v2.28.1
  • Adds a listener to the end of the listeners array for the specified event.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns Listener

  • Adds a listener to the end of the listeners array for the specified event.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns this

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.once.html b/functions/ev.once.html index 3ac0f7473f..c069962cfc 100644 --- a/functions/ev.once.html +++ b/functions/ev.once.html @@ -1,6 +1,6 @@ once | @wppconnect/wa-js - v2.28.1
  • Adds a one time listener for the event. The listener is invoked only the first time the event is fired, after which it is removed.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns Listener

  • Adds a one time listener for the event. The listener is invoked only the first time the event is fired, after which it is removed.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns this

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.prependListener.html b/functions/ev.prependListener.html index fd3cea25d7..cd7211669c 100644 --- a/functions/ev.prependListener.html +++ b/functions/ev.prependListener.html @@ -1,6 +1,6 @@ prependListener | @wppconnect/wa-js - v2.28.1

Function prependListener

  • Adds a listener to the beginning of the listeners array for the specified event.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns Listener

  • Adds a listener to the beginning of the listeners array for the specified event.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns this

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.prependMany.html b/functions/ev.prependMany.html index 4bb26ea8a8..7ae13bf52c 100644 --- a/functions/ev.prependMany.html +++ b/functions/ev.prependMany.html @@ -1,6 +1,6 @@ prependMany | @wppconnect/wa-js - v2.28.1

Function prependMany

  • Adds a listener that will execute n times for the event before being removed. The listener is invoked only the first n times the event is fired, after which it is removed. The listener is added to the beginning of the listeners array.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns Listener

  • Adds a listener that will execute n times for the event before being removed. The listener is invoked only the first n times the event is fired, after which it is removed. The listener is added to the beginning of the listeners array.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns this

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.prependOnceListener.html b/functions/ev.prependOnceListener.html index 6dbc32a0bc..544091d04d 100644 --- a/functions/ev.prependOnceListener.html +++ b/functions/ev.prependOnceListener.html @@ -1,6 +1,6 @@ prependOnceListener | @wppconnect/wa-js - v2.28.1

Function prependOnceListener

  • Adds a one time listener for the event. The listener is invoked only the first time the event is fired, after which it is removed. The listener is added to the beginning of the listeners array

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns Listener

  • Adds a one time listener for the event. The listener is invoked only the first time the event is fired, after which it is removed. The listener is added to the beginning of the listeners array

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns this

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.removeAllListeners.html b/functions/ev.removeAllListeners.html index 16581b46d8..95a78722ab 100644 --- a/functions/ev.removeAllListeners.html +++ b/functions/ev.removeAllListeners.html @@ -1,5 +1,5 @@ removeAllListeners | @wppconnect/wa-js - v2.28.1

Function removeAllListeners

  • Removes all listeners, or those of the specified event.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    • Optional event: Name

    Returns this

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.removeListener.html b/functions/ev.removeListener.html index 18ec1ea081..1021ef05f2 100644 --- a/functions/ev.removeListener.html +++ b/functions/ev.removeListener.html @@ -1,5 +1,5 @@ removeListener | @wppconnect/wa-js - v2.28.1

Function removeListener

  • Remove a listener from the listener array for the specified event. Caution: Calling this method changes the array indices in the listener array behind the listener.

    -

    Type Parameters

    • Name extends "webpack.injected" | "blocklist.sync" | "call.incoming_call" | "chat.active_chat" | "chat.new_message" | "chat.msg_revoke" | "chat.msg_ack_change" | "chat.live_location_start" | "chat.live_location_update" | "chat.live_location_end" | "chat.new_reaction" | "chat.presence_change" | "chat.poll_response" | "chat.update_label" | "config.update" | "conn.auth_code_change" | "conn.authenticated" | "conn.logout" | "conn.main_init" | "conn.main_loaded" | "conn.main_ready" | "conn.needs_update" | "conn.online" | "conn.qrcode_idle" | "conn.require_auth" | "group.participant_changed" | "order.payment_status" | "status.sync" | "webpack.ready" | "webpack.full_ready" | "alfa" | "beta"

    Parameters

    Returns this

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/ev.waitFor.html b/functions/ev.waitFor.html index c76345e223..709085eb21 100644 --- a/functions/ev.waitFor.html +++ b/functions/ev.waitFor.html @@ -1,7 +1,7 @@ waitFor | @wppconnect/wa-js - v2.28.1

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/whatsapp.Base64.encodeB64.html b/functions/whatsapp.Base64.encodeB64.html index 9373ce73b2..29054473cb 100644 --- a/functions/whatsapp.Base64.encodeB64.html +++ b/functions/whatsapp.Base64.encodeB64.html @@ -1,4 +1,4 @@ -encodeB64 | @wppconnect/wa-js - v2.28.1

Generated using TypeDoc

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/whatsapp.Base64.encodeB64UrlSafe.html b/functions/whatsapp.Base64.encodeB64UrlSafe.html index d262688e3b..d82bdd6a46 100644 --- a/functions/whatsapp.Base64.encodeB64UrlSafe.html +++ b/functions/whatsapp.Base64.encodeB64UrlSafe.html @@ -1,4 +1,4 @@ -encodeB64UrlSafe | @wppconnect/wa-js - v2.28.1

Generated using TypeDoc

  • Parameters

    • data: ArrayLike<number> | ArrayBufferLike
    • Optional t: boolean

    Returns string

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/whatsapp.Base64.sizeWhenB64Decoded.html b/functions/whatsapp.Base64.sizeWhenB64Decoded.html index c9ea775f9e..7c26f26261 100644 --- a/functions/whatsapp.Base64.sizeWhenB64Decoded.html +++ b/functions/whatsapp.Base64.sizeWhenB64Decoded.html @@ -1,4 +1,4 @@ -sizeWhenB64Decoded | @wppconnect/wa-js - v2.28.1

Generated using TypeDoc

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/chat.ScheduledCallMessageOptions.html b/interfaces/chat.ScheduledCallMessageOptions.html index 3be3ac0806..c1fe74e58b 100644 --- a/interfaces/chat.ScheduledCallMessageOptions.html +++ b/interfaces/chat.ScheduledCallMessageOptions.html @@ -1,4 +1,4 @@ -ScheduledCallMessageOptions | @wppconnect/wa-js - v2.28.1

Interface ScheduledCallMessageOptions

interface ScheduledCallMessageOptions {
    callType: "video" | UNKNOWN | VOICE | VIDEO | "voice";
    createChat?: boolean;
    delay?: number;
    detectMentioned?: boolean;
    markIsRead?: boolean;
    mentionedList?: (string | Wid)[];
    messageId?: string | MsgKey;
    quotedMsg?: string | MsgModel | MsgKey;
    scheduledTimestampMs: string | number;
    title: string;
    waitForAck?: boolean;
}

Hierarchy (view full)

Properties

callType +ScheduledCallMessageOptions | @wppconnect/wa-js - v2.28.1

Interface ScheduledCallMessageOptions

interface ScheduledCallMessageOptions {
    callType: "video" | SCHEDULED_CALL_TYPE | "voice";
    createChat?: boolean;
    delay?: number;
    detectMentioned?: boolean;
    markIsRead?: boolean;
    mentionedList?: (string | Wid)[];
    messageId?: string | MsgKey;
    quotedMsg?: string | MsgModel | MsgKey;
    scheduledTimestampMs: string | number;
    title: string;
    waitForAck?: boolean;
}

Hierarchy (view full)

Properties

callType: "video" | UNKNOWN | VOICE | VIDEO | "voice"
createChat?: boolean

Create a new chat to a new contact

+

Properties

callType: "video" | SCHEDULED_CALL_TYPE | "voice"
createChat?: boolean

Create a new chat to a new contact

Default

false
 

Example

WPP.chat.sendTextMessage('[number]@c.us', 'Hello new contact', {
createChat: true
}); diff --git a/interfaces/ev.ConnEventTypes.html b/interfaces/ev.ConnEventTypes.html index 74d92e9450..6075bef440 100644 --- a/interfaces/ev.ConnEventTypes.html +++ b/interfaces/ev.ConnEventTypes.html @@ -1,4 +1,4 @@ -ConnEventTypes | @wppconnect/wa-js - v2.28.1

Interface ConnEventTypes

interface ConnEventTypes {
    conn.auth_code_change: null | AuthCodeSingleDevice | AuthCodeMultiDevice;
    conn.authenticated: undefined;
    conn.logout: undefined;
    conn.main_init: undefined;
    conn.main_loaded: undefined;
    conn.main_ready: undefined;
    conn.needs_update: undefined;
    conn.online: boolean;
    conn.qrcode_idle: undefined;
    conn.require_auth: undefined;
}

Properties

conn.auth_code_change +ConnEventTypes | @wppconnect/wa-js - v2.28.1

Interface ConnEventTypes

interface ConnEventTypes {
    conn.auth_code_change: null | AuthCode;
    conn.authenticated: undefined;
    conn.logout: undefined;
    conn.main_init: undefined;
    conn.main_loaded: undefined;
    conn.main_ready: undefined;
    conn.needs_update: undefined;
    conn.online: boolean;
    conn.qrcode_idle: undefined;
    conn.require_auth: undefined;
}

Properties

conn.auth_code_change: null | AuthCodeSingleDevice | AuthCodeMultiDevice
conn.authenticated: undefined

Triggered afted a success QR code scan

+

Properties

conn.auth_code_change: null | AuthCode
conn.authenticated: undefined

Triggered afted a success QR code scan

Example

WPP.on('conn.authenticated', () => {
// Your code
});
conn.logout: undefined
conn.main_init: undefined

Triggered when the interface is booting

diff --git a/interfaces/status.TextStatusOptions.html b/interfaces/status.TextStatusOptions.html index 8f048c498c..0b8c8871d0 100644 --- a/interfaces/status.TextStatusOptions.html +++ b/interfaces/status.TextStatusOptions.html @@ -1,9 +1,9 @@ -TextStatusOptions | @wppconnect/wa-js - v2.28.1

Interface TextStatusOptions

interface TextStatusOptions {
    backgroundColor?: string | number;
    font?: SANS_SERIF | SERIF | NORICAN_REGULAR | BRYNDAN_WRITE | BEBASNEUE_REGULAR | OSWALD_HEAVY;
    messageId?: string | MsgKey;
    textColor?: string | number;
    waitForAck?: boolean;
}

Hierarchy (view full)

Properties

backgroundColor? +TextStatusOptions | @wppconnect/wa-js - v2.28.1

Interface TextStatusOptions

interface TextStatusOptions {
    backgroundColor?: string | number;
    font?: TextFontStyle;
    messageId?: string | MsgKey;
    textColor?: string | number;
    waitForAck?: boolean;
}

Hierarchy (view full)

Properties

backgroundColor?: string | number
font?: SANS_SERIF | SERIF | NORICAN_REGULAR | BRYNDAN_WRITE | BEBASNEUE_REGULAR | OSWALD_HEAVY
messageId?: string | MsgKey
textColor?: string | number
waitForAck?: boolean

Generated using TypeDoc

\ No newline at end of file