如何在 bot.sendMessage() 中发送超链接 [英] How to send a hyperlink in bot.sendMessage()

查看:98
本文介绍了如何在 bot.sendMessage() 中发送超链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的机器人发送链接.所以我想包含一个像你可以用 HTML 做的超链接,例如 -a href="google.com" Google/a 显示一个名为Google"的可点击文本我该怎么做这在 bot.sendMessage() 中?并且如果您也有任何发送粗体消息的想法..

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..

推荐答案

您可以使用 格式化选择来做到这一点.

You can use formatting option to do this.

这篇关于如何在 bot.sendMessage() 中发送超链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆