Module

x/grammy/bot.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.12.3/bot.ts";

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

Parameters

optional
options: PollingOptions