Hyperlink in Lua

I am trying to figure out how to create add a hyperlink into a Lua string.

Example:
Instead of having it say “https://www.google.com/” have it say “Google” but still works as a link.

What I have -

if (connection.allow == false) then
        deferrals.done("Go to https://www.google.com/ to search things.")
elseif (connection.allow == true) then
        deferrals.done()
end

What I want-

if (connection.allow == false) then
        deferrals.done("Go to Google to search things.")
elseif (connection.allow == true) then
        deferrals.done()
end

I’m not sure if regular defer messages supports links, you might be able to do this using adaptive cards

I have tested and it does support links.

Any ideas?

Did adaptive cards work?

No, It did not.
This is the defer message and it supports links, but I want to figure out how to make the link still work but say “Google” instead of “google.com”. Keep in mind Google is just for testing.

Let me know if you can help?

I did try with adaptive cards mentioned in cookbook I think.

The redirection doesn’t work.

Hi, did you found out?

offtopic: nice post digging.

on: Try with html code.

'Does this <a href="https://forum.cfx.re">hyperlink</a> work?'

Hi,
What I want is I have some data and I want export it discord and that “data” to be hyperlink.