Telegram 机器人 api:sendPhoto 不渲染 html
Telegram bot api: sendPhoto do not render html
我正在用这种方式撰写邮件
const reply_telegram = {
"chat_id" : MIRKO,
"photo" : row.image_url,
"caption" : '<b>Wow</b>',
"parse_mode" : "HTML",
"disable_notification" : true,
}
为了这个问题的目标,关注
"parse_mode" : "HTML"
我正在使用 sendPhoto
而不是经典 sendMessage
。
- Official docs state that I can use a
caption
and parse_mode
in the sendPhoto
method
- I am actively using
sendMessage
with html content, and it's handled as HTML as I want
简而言之,问题是:消息已发送,照片已发送,照片下方打印了标题文字,未打印标签,但标题未加粗按照我的要求。
我错过了什么?
其实到了2019年7月,好像问题没有了。
可能 Twitter 已经修复了它。
我正在用这种方式撰写邮件
const reply_telegram = {
"chat_id" : MIRKO,
"photo" : row.image_url,
"caption" : '<b>Wow</b>',
"parse_mode" : "HTML",
"disable_notification" : true,
}
为了这个问题的目标,关注
"parse_mode" : "HTML"
我正在使用 sendPhoto
而不是经典 sendMessage
。
- Official docs state that I can use a
caption
andparse_mode
in thesendPhoto
method- I am actively using
sendMessage
with html content, and it's handled as HTML as I want
简而言之,问题是:消息已发送,照片已发送,照片下方打印了标题文字,未打印标签,但标题未加粗按照我的要求。
我错过了什么?
其实到了2019年7月,好像问题没有了。 可能 Twitter 已经修复了它。