Message360959
-1.
I rather suggest updating telethon example in the following matter:
async with main():
with TelegramClient('anon', api_id, api_hash) as client:
await client.send_message('me', 'Hello, myself!')
You PR brings more problems than fixes: the loop is closed after the first usage, the next call with the same loop fails.
I don't think that we should support such tricky mode. |
|
Date |
User |
Action |
Args |
2020-01-29 13:13:46 | asvetlov | set | recipients:
+ asvetlov, yselivanov, heckad |
2020-01-29 13:13:46 | asvetlov | set | messageid: <1580303626.14.0.492715136901.issue39483@roundup.psfhosted.org> |
2020-01-29 13:13:46 | asvetlov | link | issue39483 messages |
2020-01-29 13:13:46 | asvetlov | create | |
|