【发布时间】:2022-03-01 22:40:12
【问题描述】:
这是我用来向用户发送回复的示例代码(Python Telegram Bot)
conf_mes = await e.reply(
f"<a href='https://URL'>My Text</a>/n/n ..Description..",
parse_mode="html",
buttons=buts,
)
当机器人向用户发送消息时,如何禁用网页预览!
【问题讨论】:
-
请在您的问题中提供库名称。
-
这能回答你的问题吗? pyTelegramBotAPI disable link preview。即使这不是您正在使用的库,该参数也应该可用,因为它是由 Bot API 指定的。
标签: python python-3.x telegram telegram-bot