关于电报机器人文本的问题



如何在电报机器人的输出上放置大文本,有哪些分发工具

我尝试按原样插入文本,提示语法有错误

使用三引号或三双引号

@bot.message_handler(commands=["start"])
def start(message):
    bot.send_message(message.from_user.id, """texttexttextext
texttexttextext
texttexttextext
texttexttextext""")
bot.polling(none_stop=True, interval=0)

最新更新