pyrofork/pyrogram
Dan f850d6352e Enhance API by adding support for Context Managers. Closes #122
A batch script would be as simple as this example:

from pyrogram import Client

with Client("...") as app:
    app.send_message("haskell", "hi")
2018-09-17 18:53:04 +02:00
..
api Merge remote-tracking branch 'origin/develop' into develop 2018-09-17 15:59:49 +02:00
client Enhance API by adding support for Context Managers. Closes #122 2018-09-17 18:53:04 +02:00
connection Info log DC number on connection 2018-09-08 19:33:47 +02:00
crypto Revert "Update tgcrypto function names" 2018-09-17 16:53:21 +02:00
session Merge remote-tracking branch 'origin/develop' into develop 2018-09-17 15:59:49 +02:00
__init__.py Normalize "0.8.0dev1" to "0.8.0.dev1" 2018-08-24 18:13:07 +02:00