mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
add cron job
This commit is contained in:
parent
3ae46f8c0e
commit
5f2bf680d5
4
main.py
4
main.py
@ -13,9 +13,7 @@ dp.middleware.setup(LoggingMiddleware())
|
||||
|
||||
|
||||
@dp.message_handler(commands=['chatid'])
|
||||
async def echo(message: types.Message):
|
||||
# Regular request
|
||||
# await bot.send_message(message.chat.id, message.text)
|
||||
async def chat_id(message: types.Message):
|
||||
|
||||
# or reply INTO webhook
|
||||
return SendMessage(message.chat.id, message.chat.id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user