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