PollingClient
classReceives updates from Telegram via long polling (getUpdates).
Declaration
declare class PollingClient Properties
Methods
constructor(client: Client);Constructs a new instance of the PollingClient class
start(options?: PollingOptions): Promise<void>;| Parameter | Type |
|---|---|
| options? | PollingOptions |
Returns Promise<void>
Begin the polling loop. Resolves once polling has started.