Preparing search index...
The search index is not available
Documentation - v0.19.5
Documentation
@mtcute/bun
index
TelegramWorker
Class TelegramWorker<T>
Type Parameters
T
extends
WorkerCustomMethods
Hierarchy (
View Summary
)
TelegramWorker
<
T
>
TelegramWorker
Index
Constructors
constructor
Properties
broadcast
client
params
pending
Aborts
Methods
register
Worker
Constructors
constructor
new
TelegramWorker
<
T
extends
WorkerCustomMethods
>
(
params
:
TelegramWorkerOptions
<
T
>
,
)
:
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
pendingAborts
:
Map
<
number
,
AbortController
>
= ...
Methods
register
Worker
registerWorker
(
handler
:
WorkerMessageHandler
)
:
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
Documentation - v0.19.5
Loading...