我以以下方式发送电报机器人消息:
bot_message = "Hi **James**, how are you doing?"
send_text = f"https://api.telegram.org/bot{bot_token}/sendMessage?chat_id={chat_id}&parse_mode=Markdown&text={bot_message}"
response = requests.get(send_text)
但是,我似乎无法正确格式化消息中的粗体内容;我如何才能做到这一点?
发布于 2022-03-16 09:33:40
使用一个*
而不是两个正式文件中的详细内容。
https://stackoverflow.com/questions/71493713
复制相似问题