add channel post to allowed updates
Marco Andronaco andronacomarco@gmail.com
Thu, 24 Aug 2023 15:15:18 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
main.py
→
main.py
@@ -25,4 +25,4 @@ application.add_handler(CallbackQueryHandler(callback=inline_keyboard))
application.add_handler(MessageHandler(filters.ChatType.CHANNEL, forward)) application.add_handler(MessageHandler(filters.ChatType.PRIVATE, admin_forward)) application.add_handler(MessageHandler(filters.ChatType.GROUPS, replace)) - application.run_polling(allowed_updates=[Update.MESSAGE, Update.CALLBACK_QUERY]) + application.run_polling(allowed_updates=[Update.CHANNEL_POST, Update.MESSAGE, Update.CALLBACK_QUERY])