mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
publish: 5.7.2
This commit is contained in:
parent
cdb88ac1ee
commit
0e42273e6f
3 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
[tool.poetry]
|
||||
name = "royalnet"
|
||||
version = "5.7.1"
|
||||
version = "5.7.2"
|
||||
description = "A multipurpose bot and web framework"
|
||||
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
||||
license = "AGPL-3.0+"
|
||||
|
|
|
@ -147,7 +147,7 @@ class TelegramSerf(Serf):
|
|||
for key in keys:
|
||||
uid: str = str(uuid.uuid4())
|
||||
key_uids.append(uid)
|
||||
data.register_keyboard_key(uid, key)
|
||||
self.register_keyboard_key(uid, key)
|
||||
tg_button: telegram.InlineKeyboardButton = telegram.InlineKeyboardButton(key.text,
|
||||
callback_data=uid)
|
||||
tg_row: List[telegram.InlineKeyboardButton] = [tg_button]
|
||||
|
@ -161,7 +161,7 @@ class TelegramSerf(Serf):
|
|||
yield message
|
||||
await self.api_call(message.edit_reply_markup, reply_markup=None)
|
||||
for uid in key_uids:
|
||||
data.unregister_keyboard_key(uid)
|
||||
self.unregister_keyboard_key(uid)
|
||||
|
||||
return TelegramMessageData
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
semantic = "5.7.1"
|
||||
semantic = "5.7.2"
|
||||
|
|
Loading…
Reference in a new issue