telegram.bot icon indicating copy to clipboard operation
telegram.bot copied to clipboard

Color code caption bot$sendPhoto

Open HugoGit39 opened this issue 6 months ago • 0 comments

Hi,

I try to add a caption with a colorcoded word. But it only applies strong to the word. Would be great if a color is possible!

  bot$sendPhoto(chat_id = xxx, 
                caption = paste0("This is an ", strong("example", style="color:#44AA99"), 
                photo = "Example.png",
                parse_mode = "HTML")

HugoGit39 avatar Dec 20 '23 18:12 HugoGit39