Closed acollazo25 closed 3 years ago
Hey.
I just published a 2.0 version of this package. It includes breaking changes, a different interface, and Telegraf 4.0 support, but it also supports a custom key creation function that can be passed in the options object.
It should support poll answers by default, but currently, Telegraf isn't fully supporting them. I will make a pull request to fix this. In meantime, you can extend the default implementation of 'getSessionKey' function and pass it in the options object.
Add support for poll answers.
from
is missing in responsehttps://github.com/alexnzarov/telegraf-session-mongodb/blob/d2de0bdeb6471a330cf48ac6bec53fb62111513f/index.js#L30