disable link preview for join link
This commit is contained in:
parent
d631506d04
commit
9d543653c7
1 changed files with 2 additions and 1 deletions
3
bot.py
3
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):
|
||||
|
|
Loading…
Reference in a new issue