1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Return message on data.keyboard call

This commit is contained in:
Steffo 2020-04-08 19:03:29 +02:00
parent 02b6718b2d
commit 84f985d7a0

View file

@ -158,7 +158,7 @@ class TelegramSerf(Serf):
parse_mode="HTML",
disable_web_page_preview=True,
reply_markup=tg_markup)
yield
yield message
await self.api_call(message.edit_reply_markup, reply_markup=None)
for uid in key_uids:
del self.key_callbacks[uid]