disable link preview for join link

This commit is contained in:
Jannes Höke 2016-03-08 03:08:35 +01:00
parent d631506d04
commit 9d543653c7

3
bot.py
View file

@ -75,7 +75,8 @@ def new_game(bot, update):
chat_id = update.message.chat_id chat_id = update.message.chat_id
link = gm.generate_invite_link(u.bot.getMe().username, chat_id) link = gm.generate_invite_link(u.bot.getMe().username, chat_id)
bot.sendMessage(chat_id, bot.sendMessage(chat_id,
text="Click this link to join the game: %s" % link) text="Click this link to join the game: %s" % link,
disable_web_page_preview=True)
def leave_game(bot, update): def leave_game(bot, update):