daily pastebin goal
84%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import asyncio
  2. import logging
  3.  
  4. logging.basicConfig(level=logging.DEBUG)
  5.  
  6. async def reproduce():
  7.     client = TelegramClient(None, os.environ["API_ID"], os.environ["API_HASH"])
  8.     await client.start()
  9.     await client.run_until_disconnected()
  10.  
  11. loop = asyncio.get_event_loop()
  12. loop.run_until_complete(reproduce())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top