Preparing search index...
The search index is not available
@wppconnect-team/wppconnect - v1.35.1
@wppconnect-team/wppconnect
WAJS
ev
addListener
Function addListener
add
Listener
<
Name
>
(
event
,
listener
)
:
any
Type Parameters
Name
extends
|
"config.update"
|
"blocklist.sync"
|
"call.incoming_call"
|
(
keyof ChatEventTypes
)
|
(
keyof ConnEventTypes
)
|
"group.participant_changed"
|
"order.payment_status"
|
"status.sync"
|
(
keyof WebpackEvents
)
|
"alfa"
|
"beta"
Parameters
event
:
Name
listener
:
(
(
...
args
:
ListenerType
<
(
BlocklistEventTypes
&
CallEventTypes
&
ChatEventTypes
&
ConfigEventTypes
&
ConnEventTypes
&
GroupEventTypes
&
OrderEventTypes
&
StatusEventTypes
&
WebpackEvents
&
{
alfa
:
string
;
beta
:
(
(
from
:
number
,
to
:
string
)
=>
void
)
;
}
)
[
Name
]
>
)
=>
void
)
(
...
args
)
:
void
Parameters
Rest
...
args
:
ListenerType
<
(
BlocklistEventTypes
&
CallEventTypes
&
ChatEventTypes
&
ConfigEventTypes
&
ConnEventTypes
&
GroupEventTypes
&
OrderEventTypes
&
StatusEventTypes
&
WebpackEvents
&
{
alfa
:
string
;
beta
:
(
(
from
:
number
,
to
:
string
)
=>
void
)
;
}
)
[
Name
]
>
Returns
void
Returns
any
Settings
Member Visibility
External
Theme
OS
Light
Dark
@wppconnect-team/wppconnect - v1.35.1
Loading...