Preparing search index...
The search index is not available
mtcute - v0.17.2
mtcute
@mtcute/core
highlevel/worker
TelegramWorker
Class TelegramWorker<T>
Abstract
Type Parameters
T
extends
WorkerCustomMethods
Hierarchy
TelegramWorker
Index
Constructors
constructor
Properties
broadcast
client
params
pending
Aborts
Methods
register
Worker
Constructors
constructor
new
Telegram
Worker
<
T
>
(
params
)
:
TelegramWorker
<
T
>
Type Parameters
T
extends
WorkerCustomMethods
Parameters
params
:
TelegramWorkerOptions
<
T
>
Returns
TelegramWorker
<
T
>
Properties
Readonly
broadcast
broadcast
:
RespondFn
Readonly
client
client
:
BaseTelegramClient
Readonly
params
params
:
TelegramWorkerOptions
<
T
>
Readonly
pending
Aborts
pending
Aborts
:
Map
<
number
,
AbortController
>
= ...
Methods
Abstract
register
Worker
register
Worker
(
handler
)
:
RespondFn
Parameters
handler
:
WorkerMessageHandler
Returns
RespondFn
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
broadcast
client
params
pending
Aborts
Methods
register
Worker
mtcute - v0.17.2
Loading...