bind_event.py 277 B

123456789
  1. from aiogram import types, Dispatcher
  2. async def bind_event(call: types.CallbackQuery):
  3. await call.message.answer("Тут типа евент биндить")
  4. def register(dp: Dispatcher):
  5. dp.register_callback_query_handler(bind_event, text_startswith="bind_event")