是否可以通过简单地执行方法来异步使用aiogram库?不仅作为对用户的回应。
条件代码:
from aiogram import Bot, Dispatcher, executor, types
bot = Bot(token)
dp = Dispatcher(bot)
await bot.send_message(54656484, 'text')
是否可以通过简单地执行方法来异步使用aiogram库?不仅作为对用户的回应。
条件代码:
from aiogram import Bot, Dispatcher, executor, types
bot = Bot(token)
dp = Dispatcher(bot)
await bot.send_message(54656484, 'text')
一旦这样做