作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我最近开始在 Node js 中创建一个 Azure 机器人。我想在机器人响应之一中添加一个超链接,并在用户单击它后发送主动响应。像这样的东西:
请点击此链接完成付款
。
并且该链接应该是一个将重定向到端点的超链接。
我已经尝试找到一种方法来实现它,但到目前为止,我还没有能够实现。我看到了以下链接:
有人可以建议我实现这一目标的方法吗?
最佳答案
您可以使用 Markdown 语法。
The text must be treated as markdown formatting and rendered on thechannel as appropriate.
超链接 Markdown 语法:
[click this link](https://www.google.com/)
根据您的代码,它看起来如下所示:
Please [click this link](www.greetings.com) to complete the payment
引用:
关于node.js - 如何在 Azure 机器人消息文本中添加超链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68151613/
我是一名优秀的程序员,十分优秀!