Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @dp.callback_query_handler(text='registration')
- async def inline_kb(query: types.CallbackQuery):
- answer_data = query.data
- if answer_data == 'registration':
- send_name(query.message) #Coroutine 'send_name' is not awaited
- async def send_name(message):
- await Form_registration.name.set()
- await message.answer("Укажите логин: ", reply_markup=types.ReplyKeyboardRemove())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement