pyrofork/pyrogram/client
Dan f29b8bb7e4 Cache the session right after they start. Related to #68
@EriHoss is right, the session can know how to clean itself in
case for some reason it fails to start, hence it makes much more
sense to cache sessions right after they start. Also, clear the
media_sessions dict when stopping to get rid of closed sessions.
2018-05-01 21:08:47 +02:00
..
dispatcher Merge branch 'remove-handler-and-locks' of https://github.com/JosXa/pyrogram into JosXa-remove-handler-and-locks 2018-04-30 10:30:34 +02:00
filters Make optional word italic 2018-04-30 19:30:16 +02:00
handlers Add CallbackQuery to docs 2018-04-29 19:06:35 +02:00
style Yet another markdown pattern fix 2018-03-23 08:27:23 +01:00
types Make optional word italic 2018-04-30 19:30:16 +02:00
__init__.py Add callback query support 2018-04-28 23:48:38 +02:00
chat_action.py Fix pycharm warnings 2018-04-30 19:53:03 +02:00
client.py Cache the session right after they start. Related to #68 2018-05-01 21:08:47 +02:00
emoji.py Add missing notice 2018-02-19 13:25:44 +01:00
parse_mode.py Update Docs 2018-04-11 23:18:17 +02:00
syncer.py Add workdir parameter 2018-04-19 10:06:41 +02:00
utils.py Add a weakref to client instead 2018-05-01 20:40:47 +02:00