Update examples to column width to 99 [ci skip]

This commit is contained in:
leandrotoledo 2016-05-23 17:45:01 -03:00
parent 2389b07382
commit 6bfdff8892
3 changed files with 4 additions and 6 deletions

View file

@ -51,8 +51,8 @@ def inlinequery(bot, update):
query = update.inline_query.query query = update.inline_query.query
results = list() results = list()
results.append(InlineQueryResultArticle(id=uuid4( results.append(InlineQueryResultArticle(id=uuid4(),
), title="Caps", title="Caps",
input_message_content=InputTextMessageContent( input_message_content=InputTextMessageContent(
query.upper()))) query.upper())))

View file

@ -11,8 +11,7 @@ from telegram import Emoji, ForceReply, InlineKeyboardButton, \
from telegram.ext import Updater, CommandHandler, MessageHandler, \ from telegram.ext import Updater, CommandHandler, MessageHandler, \
CallbackQueryHandler, Filters CallbackQueryHandler, Filters
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - ' logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
'%(message)s',
level=logging.DEBUG) level=logging.DEBUG)
# Define the different states a chat can be in # Define the different states a chat can be in

View file

@ -8,8 +8,7 @@ import logging
from telegram import Emoji, ForceReply, ReplyKeyboardMarkup, KeyboardButton from telegram import Emoji, ForceReply, ReplyKeyboardMarkup, KeyboardButton
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters from telegram.ext import Updater, CommandHandler, MessageHandler, Filters
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - ' logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
'%(message)s',
level=logging.INFO) level=logging.INFO)
# Define the different states a chat can be in # Define the different states a chat can be in