This commit is contained in:
levina 2021-10-25 15:30:42 +07:00 committed by GitHub
parent 77144a0dc7
commit 4fabd5b1fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,13 +57,9 @@ async def inline(client: Client, query: InlineQuery):
switch_pm_parameter="", switch_pm_parameter="",
) )
# ==================
# Tested
menus = [ menus = [
InlineQueryResultArticle(title="Start", description="Start a bot", InlineQueryResultArticle(title="Start", description="start this bot",
input_message_content=InputTextMessageContent("/start")), input_message_content=InputTextMessageContent("/start")),
InlineQueryResultArticle(title="Info Bot", description="Info about this bot", InlineQueryResultArticle(title="Info Bot", description="info about this bot",
input_message_content=InputTextMessageContent("/info")), input_message_content=InputTextMessageContent("/info")),
] ]