@japofc/baileys - v2.4.7
GitHub
npm
Preparing search index...
AlwaysOnline
Interface AlwaysOnline
interface
AlwaysOnline
{
isRunning
:
boolean
;
presence
:
string
;
stats
:
{
failures
:
number
;
updates
:
number
}
;
onError
(
cb
:
(
info
:
{
error
:
unknown
;
presence
:
string
}
)
=>
void
,
)
:
()
=>
void
;
push
()
:
Promise
<
void
>
;
setPresence
(
presence
:
string
)
:
void
;
start
()
:
()
=>
void
;
stop
()
:
void
;
}
Index
Properties
is
Running
presence
stats
Methods
on
Error
push
set
Presence
start
stop
Properties
Readonly
is
Running
isRunning
:
boolean
Readonly
presence
presence
:
string
Readonly
stats
stats
:
{
failures
:
number
;
updates
:
number
}
Methods
on
Error
onError
(
cb
:
(
info
:
{
error
:
unknown
;
presence
:
string
}
)
=>
void
)
:
()
=>
void
Parameters
cb
:
(
info
:
{
error
:
unknown
;
presence
:
string
}
)
=>
void
Returns
()
=>
void
push
push
()
:
Promise
<
void
>
Push presence now (also called by the interval).
Returns
Promise
<
void
>
set
Presence
setPresence
(
presence
:
string
)
:
void
Switch the maintained presence live.
Parameters
presence
:
string
Returns
void
start
start
()
:
()
=>
void
Returns
()
=>
void
stop
stop
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
is
Running
presence
stats
Methods
on
Error
push
set
Presence
start
stop
GitHub
npm
@japofc/baileys - v2.4.7
Loading...
Push presence now (also called by the interval).