Skip to content

Commit

Permalink
fix(msg_search.py): improved sent message when clicked INFO button
Browse files Browse the repository at this point in the history
  • Loading branch information
X1A0CA1 committed Oct 24, 2022
1 parent ee5738c commit e094f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_handlers/msg_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def inline_caps(update, context):
results = [InlineQueryResultArticle(
id='info',
title='Total:{}. Page {} of {}'.format(count, page, math.ceil(count / SEARCH_PAGE_SIZE)),
input_message_content=InputTextMessageContent('/help')
input_message_content=InputTextMessageContent(f'/help@{context.bot.get_me().username}')
)]
for message in messages:
results.append(
Expand Down

0 comments on commit e094f91

Please sign in to comment.