telegraf-session-redis
telegraf-session-redis copied to clipboard
Redis session middleware for Telegraf
Hi everyone! I uses Telegraf + Redis-session + [Stage](https://telegraf.js.org/#/?id=stage) in my bot. But session doesn't works with Promise This very similar like this issues ( [1](https://github.com/telegraf/telegraf-session-redis/issues/25), [2](https://github.com/telegraf/telegraf-session-redis/issues/10), [3](https://github.com/telegraf/telegraf-session-redis/issues/4), [4](https://github.com/telegraf/telegraf-session-redis/issues/26) ),...
Telegraf has gone with new big release and thus needs to be updated.
Update Packages - Redis to v4 - Telegraf v4 Code - move to async/await - implement Redis v4 - update tests Telegraf v4
During the setting up, I can't define `tls=true` to work with my database. TLS appears as an object property but does not have any example about its use. ```js const...
include telegraf version 4
Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project. #### Changes included in this PR - Changes to the following...
In the promise call chain, avoid returning as resolution data an empty object as done the `saveSession` method. Therefore, add closure to return the middleware resolution data after the save...
 redis does not change if ctx is passed to the callback.
Hello! I have problem with session-redis and i18n (actually problem exist and without i18n). I wish change language when user choosed. But overwriting session's value don't working. Overwriting works inside...
Hello, I see getContext typings seems wrong: https://github.com/telegraf/telegraf-session-redis/blob/develop/lib/session.d.ts#L39 It is: ```typescript getSession(key: Context): string; ``` but I expected it to be: ```typescript getSession(key: string): Context; ``` and in the code...