Naltox / telegram-node-bot

Node module for creating Telegram bots.
MIT License
721 stars 143 forks source link

Persistent storage + lack of documentation #76

Closed amsonline closed 8 years ago

amsonline commented 8 years ago

Hello How can I use a persistent storage? Sessions seem to be destroyed every time. I want to save each user's settings (mainly their selected language) but I cannot find a correct (and clean) way to do that.

By the way, the documentation is not very powerful. For example, it doesn't have enough samples and most of functions are not described in details.

Naltox commented 8 years ago

@amsonline Hi! You can create your own storage, that will use some database: https://github.com/Naltox/telegram-node-bot#sessions