Module

x/grammy/mod.ts>Bot#loop

The Telegram Bot Framework.
Very Popular
Go to Latest
method Bot.prototype.loop
import { Bot } from "https://dotland.deno.dev/x/grammy@v1.20.3/mod.ts";

Internal. Do not call. Enters a loop that will perform long polling until the bot is stopped.

Parameters

optional
options: PollingOptions