@japofc/baileys - v2.4.7
GitHub
npm
Preparing search index...
createProtocolCapture
Variable createProtocolCapture
Const
createProtocolCapture
:
(
options
:
ProtocolCaptureOptions
,
)
=>
{
bind
(
sock
:
any
)
:
()
=>
void
;
close
()
:
Promise
<
void
>
;
flush
()
:
Promise
<
void
>
;
record
(
direction
:
"send"
|
"recv"
,
node
:
any
,
meta
?:
any
)
:
Promise
<
void
>
;
}
Type Declaration
(
options
:
ProtocolCaptureOptions
,
)
:
{
bind
(
sock
:
any
)
:
()
=>
void
;
close
()
:
Promise
<
void
>
;
flush
()
:
Promise
<
void
>
;
record
(
direction
:
"send"
|
"recv"
,
node
:
any
,
meta
?:
any
)
:
Promise
<
void
>
;
}
Parameters
options
:
ProtocolCaptureOptions
Returns
{
bind
(
sock
:
any
)
:
()
=>
void
;
close
()
:
Promise
<
void
>
;
flush
()
:
Promise
<
void
>
;
record
(
direction
:
"send"
|
"recv"
,
node
:
any
,
meta
?:
any
)
:
Promise
<
void
>
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GitHub
npm
@japofc/baileys - v2.4.7
Loading...