mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
add reply buttons
This commit is contained in:
parent
9dfc643cf0
commit
9009230995
4
main.py
4
main.py
@ -43,7 +43,7 @@ async def home_office(query: types.CallbackQuery, callback_data: dict[str, str])
|
||||
)
|
||||
|
||||
# or reply INTO webhook
|
||||
return await query.message.edit_text(text)
|
||||
return await query.message.edit_text(text, reply_markup=get_keyboard())
|
||||
|
||||
|
||||
@dp.callback_query_handler(stations_cb.filter(direction='office->home'))
|
||||
@ -56,7 +56,7 @@ async def office_home(query: types.CallbackQuery, callback_data: dict[str, str])
|
||||
'l=masstransit&ll=37.505338%2C55.800160&tab=overview&z=211',
|
||||
message='Остановка Улица Алабяна'
|
||||
)
|
||||
return await query.message.edit_text(text)
|
||||
return await query.message.edit_text(text, reply_markup=get_keyboard())
|
||||
|
||||
|
||||
@dp.message_handler(commands=['chatid'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user