From 84f985d7a0b6e2917d0c79a0f21a0f474a07b43a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 8 Apr 2020 19:03:29 +0200 Subject: [PATCH] Return message on data.keyboard call --- royalnet/serf/telegram/telegramserf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalnet/serf/telegram/telegramserf.py b/royalnet/serf/telegram/telegramserf.py index 6330e794..f77415c6 100644 --- a/royalnet/serf/telegram/telegramserf.py +++ b/royalnet/serf/telegram/telegramserf.py @@ -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]