This commit is contained in:
yasir 2023-02-07 12:49:28 +07:00
parent 1729e65c7d
commit 4558da9de9

View file

@ -117,7 +117,7 @@ async def inline_menu(_, inline_query: InlineQuery):
msg += f"{description}\n\n"
msg += f"<b>Variables:</b>\n"
for i in parsemethod[method]["fields"]:
msg += f"<code>{parsemethod[method]['fields']['name']}<code> ({parsemethod[method]['fields']['types']})\n<b>Required:</b> {parsemethod[method]['fields']['required']}\n{parsemethod[method]['fields']['description']}\n\n"
msg += f"<code>{parsemethod[method]['fields']['name']}<code> (-)\n<b>Required:</b> {parsemethod[method]['fields']['required']}\n{parsemethod[method]['fields']['description']}\n\n"
datajson.append(
InlineQueryResultArticle(
title=method,