mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-28 19:22:54 +01:00
Revert
parent
0ef8b25f42
commit
00a2046b76
1 changed files with 1 additions and 2 deletions
|
@ -28,8 +28,7 @@ import telegram
|
|||
async def main():
|
||||
bot = telegram.Bot("TOKEN")
|
||||
async with bot:
|
||||
infos = await bot.get_me()
|
||||
print(infos)
|
||||
print(await bot.get_me())
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in a new issue