-
## Context
* Telegraf.js Version: "^4.7.0"
* Node.js Version: 16.14.2
* Operating System: Windows 10
## Minimal Example Code Reproducing the Issue
```
import {Telegraf, session, Ma…
-
Nice to have:
- [ ] More examples
- [ ] Stages/Scenes(ex telegraf-flow) advanced usage
- [ ] Extending Telegraf aka implementing middleware
- [ ] Composer magic explained
- [ ] Webhooks. Make r…
-
i can't get how to enter a new scene when you're leaving one. not sure if it's a bug or i just don't know how to do it correctly but there's my code:
```js
nickname.leave(ctx => {
if(ctx.sess…
-
There is no typings for such classess as Markup, Scene, Session, etc.
So how do i declare them without ruinning Telegraf typings ?
I've made telegraf.d.ts and declared them there, but ts still war…
-
Not sure if this is already on the roadmap or a dupe, but I've been using OpenTelemetry traces as basically a replacement for logging including the occasional Span Event and Exception recording.
It …
-
Usage:
`bot.use((new LocalSession({ database: 'sessions.json' })).middleware())`
I have a telegram bot that works great but I need to connect sessions saved locally. I connect middleware first. A…
-
I want invalidate the following caches
- **All session items** of **all users**:
- **Some session items** of **all users**
So, How can I **access the session store of all users** and doing this…
-
Dear Telegraf Developer,
Thank you for your extensive API. I've been using it for a while already and its been really awesome! One of the BEST Telegram Bot APIs for Node out there!
However, I am…
-
I have this `bot.js` containing `bot.command(), bot.hears()` and other methods.
I have the main entry file `app.js`
`const BotMethod = require('./bot');`
How can I make the methods in `bot.js` …
-
basically i'am looking for a documentation here, because if i just throw in a redis session adapter nothing really happens, and stages start working incorrectly