Hi!
I’ve a little problem: sometimes an hyperlink is displayed as a text that is different from the destination address.
Example:
- link 1 -> http://www.google.com
- link 2 -> Google
These two links go to the same web page (www.google.com), but the first link is displayed as the destination address (http://www.google.com), while the second link is displayed as a custom text (Google).
Sometimes my bot requires that the user sends him a link, but:
- when a user sends to my bot the hyperlink displayed as the destination address (ex http://www.google.com) -> my bot correctly reads the link and saves it in a google sheet document;
- when a user sends to my bot the hyperlink displayed as a custom text (ex Google) -> my bot incorrectly saves the link as a plain text (my bot reads and saves the text “Google”).
My question is: how can I teach my bot to read links sent by the user as a custom text (ex Google) and save (as an attribute, or as a metadata, or in a google sheets file) them correctly (saving “http://www.google.com” and not the plain text “Google”)?
In the image below you can see an example:
Thank you very much!