From 9d543653c715c7881c84cd59897e80c3f9d757d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Tue, 8 Mar 2016 03:08:35 +0100 Subject: [PATCH] disable link preview for join link --- bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 7c1db48..75c01ce 100644 --- a/bot.py +++ b/bot.py @@ -75,7 +75,8 @@ def new_game(bot, update): chat_id = update.message.chat_id link = gm.generate_invite_link(u.bot.getMe().username, 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):