telebotter / django-telegrambot

Simple app for Telegram bot in Django
BSD 3-Clause "New" or "Revised" License
14 stars 7 forks source link

Does this project have persistence support? #5

Closed alisher-matkurbanov closed 4 years ago

alisher-matkurbanov commented 4 years ago

Thank you for upgrading this project! I'm gonna migrate my current project and need persistence feature from python-telegram-bot in my project. Does it support this feature?

lukruh commented 4 years ago

Since this module wraps the ptb package, in principle all ptb features should be usable. I've not used the PicklePersistance yet, because I always use django models to keep the data I need persistant. But through django you can work with files such as you can in a plain python script. Just care about permissions, the django code is run by the www-data user (at least on a usual linux server).

alisher-matkurbanov commented 4 years ago

@lukruh Thanks, I'll try and add info in the future. I think this issue may be closed.