Added full support of Telegram Bot API 6.1;

Ported web-app utils;
Deprecated emoji module;
This commit is contained in:
Alex Root Junior 2022-06-22 00:59:49 +03:00
parent 7940613ec0
commit 3b66a2b2e0
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
8 changed files with 167 additions and 1 deletions

17
message.py Normal file
View file

@ -0,0 +1,17 @@
import asyncio
import secrets
from aiogram import Bot
async def main():
bot = Bot(token="5115369270:AAFlipWd1qbhc7cIe0nRM-SyGLkTC_9Ulgg")
index = 0
while True:
index += 1
print(index)
await bot.send_message(chat_id=879238251, text=secrets.token_urlsafe(24))
await asyncio.sleep(.2)
asyncio.run(main())