From af3273ccc430be5dc4ce0246afcbb29ddbf0c101 Mon Sep 17 00:00:00 2001 From: Leandro Toledo Date: Thu, 9 Jul 2015 09:49:34 -0300 Subject: [PATCH] Updated the README --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index f5693593e..0c70e17d9 100644 --- a/README.rst +++ b/README.rst @@ -109,13 +109,13 @@ To tell the user that something is happening on bot's side:: >>> bot.sendChatAction(chat_id=chat_id, action=telegram.ChatAction.TYPING) -To create `Custom Keyboards _`:: +To create `Custom Keyboards `_:: >>> custom_keyboard = [[ telegram.Emoji.THUMBS_UP_SIGN, telegram.Emoji.THUMBS_DOWN_SIGN ]] >>> reply_markup = telegram.ReplyKeyboardMarkup(custom_keyboard) >>> bot.sendMessage(chat_id=chat_id, text="Stay here, I'll be back.", reply_markup=reply_markup) -To hide `Custom Keyboards _`:: +To hide `Custom Keyboards `_:: >>> reply_markup = telegram.ReplyKeyboardHide() >>> bot.sendMessage(chat_id=chat_id, text="I'm back.", reply_markup=reply_markup)