How to send a hyperlink in bot.sendMessage()

落爺英雄遲暮 提交于 2020-12-07 06:30:53

问题


My bot sends out links. so I wanted to include a hyperlink like the one you can do with HTML for example -a href="google.com" Google /a shows up a click able text called "Google" how can I do this in bot.sendMessage()? and also if you have any idea of sending bold font messages too..


回答1:


You can use formatting option to do this.



来源:https://stackoverflow.com/questions/45268368/how-to-send-a-hyperlink-in-bot-sendmessage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!