From a2ceffecc8cb70c8b0cc60fc7d9d1b1e9dcc8938 Mon Sep 17 00:00:00 2001 From: FrankWang Date: Tue, 5 Jan 2016 21:59:34 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d0709f..430ff57 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ * [Message handlers](#message-handlers) * [TeleBot](#telebot) * [Reply markup](#reply-markup) - * [Inline Mode](#inlinemode) + * [Inline Mode](#inline-mode) * [Advanced use of the API](#advanced-use-of-the-api) * [Asynchronous delivery of messages](#asynchronous-delivery-of-messages) * [Sending large text messages](#sending-large-text-messages) From e2e6b07fdb57056aae87c4448136545275e5f61e Mon Sep 17 00:00:00 2001 From: FrankWang Date: Tue, 5 Jan 2016 22:00:34 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 430ff57..e278b6b 100644 --- a/README.md +++ b/README.md @@ -341,8 +341,8 @@ def query_text(inline_query): @bot.inline_handler(lambda query: query.query == 'text') def query_text(inline_query): try: - r = types.InlineQueryResultArticle('1', 'Result', inline_query.query) - r2 = types.InlineQueryResultArticle('2', 'Result2', inline_query.query) + r = types.InlineQueryResultArticle('1', 'Result', 'Result message.') + r2 = types.InlineQueryResultArticle('2', 'Result2', 'Result message2.') bot.answer_inline_query(inline_query.id, [r, r2]) except Exception as e: print(e)