@japofc/baileys - v2.4.7
GitHub
npm
Preparing search index...
ChannelScheduler
Class ChannelScheduler
Hierarchy (
View Summary
)
BaseTimedPoster
ChannelScheduler
Index
Constructors
constructor
Properties
sock
Methods
cancel
clear
pending
schedule
schedule
In
Constructors
constructor
new
ChannelScheduler
(
sock
:
any
,
opts
?:
{
onError
?:
(
err
:
any
,
id
:
string
)
=>
void
}
,
)
:
ChannelScheduler
Parameters
sock
:
any
Optional
opts
:
{
onError
?:
(
err
:
any
,
id
:
string
)
=>
void
}
Returns
ChannelScheduler
Properties
Protected
sock
sock
:
any
Methods
cancel
cancel
(
id
:
string
)
:
boolean
Parameters
id
:
string
Returns
boolean
clear
clear
()
:
void
Returns
void
pending
pending
()
:
{
id
:
string
;
runs
:
number
}
[]
Returns
{
id
:
string
;
runs
:
number
}
[]
schedule
schedule
(
channelJid
:
string
,
content
:
any
,
when
:
number
|
Date
,
opts
?:
TimedPostOptions
,
)
:
string
Parameters
channelJid
:
string
content
:
any
when
:
number
|
Date
Optional
opts
:
TimedPostOptions
Returns
string
schedule
In
scheduleIn
(
channelJid
:
string
,
content
:
any
,
delayMs
:
number
,
opts
?:
TimedPostOptions
,
)
:
string
Parameters
channelJid
:
string
content
:
any
delayMs
:
number
Optional
opts
:
TimedPostOptions
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
sock
Methods
cancel
clear
pending
schedule
schedule
In
GitHub
npm
@japofc/baileys - v2.4.7
Loading...