Remove inline markup in example

This commit is contained in:
Alex Root Junior 2023-09-03 03:14:38 +03:00
parent e443e58daf
commit 2dc13d3495
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC

View file

@ -163,6 +163,7 @@ class DefaultScene(
@on.callback_query(F.data == "start", after=After.goto(NameScene))
async def demo_callback(self, callback_query: CallbackQuery):
await callback_query.answer(cache_time=0)
await callback_query.message.delete_reply_markup()
@on.message.enter() # Marker for handler that should be called when user enters the scene.
@on.message()