When we send a message with a link, if we wait for a while (Image 1) whatsapp will add the default image of the link to the message.
However, when the message is written and sent quickly, the default image of the link is not loaded.
How can we wait for the default image of the link to load?
Thanks!
https://prnt.sc/rcxcc3
https://prnt.sc/rcxcie
https://prnt.sc/rcxcvb
Any update on this?
@pedroslopez ,
Is it possible to create a short interval between writing the message and clicking on the send?
3 seconds...
I believe that this would solve this situation.
Yeah in case the sendmesage content has a link in the body (detection using regex) we could conditionally add a timeout
To be honest, I don't think a timeout would work since we're not writing the message in the textbox. We're directly calling internal methods that send the message.
I haven't had time to look into this, but will do so soon.
Ok. I understand
This has been included as the default behavior in 1.5.0. Thanks for the suggestion :)
Most helpful comment
@pedroslopez ,
Is it possible to create a short interval between writing the message and clicking on the send?
3 seconds...
I believe that this would solve this situation.