Search results
Telegraf creates one for each incoming update and passes it to your middleware. It contains the update, botInfo, and telegram for making arbitrary Bot API requests, as well as shorthand methods and getters. This is probably the class you'll be using the most.
- Readme
ctx you can see in every example is a Context instance....
- Code Beta
With this simple ability, you can: extract information from...
- 8 Dependencies
$ npm install telegraf or $ yarn add telegraf or $ pnpm add...
- Pm2
Production process manager for Node.JS applications with a...
- Other People's Code
npm. Search. Sign Up Sign In. ... The i18n module for nestjs...
- Bot Framework
Yeoman generator for creating a base bot built on the Azure...
- Readme
Telegraf is a modern and fast library for creating Telegram bots with full API support, webhooks, games, and more. Learn how to install, use, and extend Telegraf with examples and community bots.
Remember that all of these types are available through Telegraf without installing any additional library: import type { Update } from "telegraf/types" ; This new package is @telegraf/types , available on Deno/x and npm with our ongoing effort to make Telegraf more platform independent.
Modern Telegram Bot Framework for Node.js. Telegraf has 28 repositories available. Follow their code on GitHub.
24 lis 2023 · First off install Telegraf using npm: $ npm install telegraf --save. To create an instance of the bot: import {Telegraf} from 'telegraf'; const bot = new Telegraf('your telegram bot token');...
Documentation for telegraf.js - v4.4.1
Users can interact with bots by sending them command messages in private or group chats. These accounts serve as an interface for code running somewhere on your server. Telegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or TypeScript.