Skip to content

twilight-slider/RedisPersistence

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Setup - NOT ACTUAL

You can find the package, here.

pip3 install redis-persistence

Requirements - NOT ACTUAL

  • Python 3.8
  • Redis 3.5

Import - NOT ACTUAL

from redispersistence.persistence import RedisPersistence

Usage - NOT ACTUAL

You need to use this persistence with pyton-telegram-bot module.

redis_instance = Redis(host='localhost', port=6379, db=0)
persistence = RedisPersistence(redis_instance)
updater = Updater(BOT_TOKEN, persistence=persistence)

About

A python module to make your Telegram bot persistent using Redis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%