Hey guys, in this class we Are you going to send messages from
image, we will send a image file via Whatsapp,
something very common today, we send a photo, an image of
Somewhere and we have two Ways to send an image here,
Can we send the image if the Do we have the URL of this image, if
I came here and opened this guy here, Here I am going through
settings so I have the Link to this image, if I get
This image here, it's a GIF, it's this image here, so I have it in
Somewhere hosted, I can Come here, let me connect and
Send it I will put it here, it's here Ella, let me clean all of this
From here, ready, do the cleaning, All right, this must be here
stuck, if I send it again, You're here, you saw the image and here the
Do we have captions too, for Make it easier, let me open
Here's the image part, you have it here send image media URL, and here on
Bole let's check what's changed So we're passing by here
This send media, the number to us it will pass into just about everything,
to send a message to someone at Do we need the number here if the
Do we want to put those typing options, here's a
Delay, and this compose here, and here We send a media outlet now
message, has some properties What is the type of the message, what is
an image, it's the caption, which is the Legend, what is that little legend
Here, here's the legend of image, can you write some
The thing here is also the media, which That's the URL of the image, okay, so if
Did you see it all is here configured here, you already have a number
Picking up here, here's the URL, now Is there the message type image here
and here you can change your Caption, you come here, change
Here, 1, 2, 3, send, here oh, 1, 2, 3, perfect right, I'm going to delete this
From here then, do you want to use shipping From the image, copy this guy here,
Let's send another image, without being The one over there, let me get a picture
Of this car here, I'm going to get the link From it here oh so this is the link
from him, let me erase this from here, let's send this link and execute,
Here oh, sent the car with Subtitle, okay, so if you want
Put here oh 2023 car, send it, 2023 car, don't worry, okay,
From here you can come back, you can come back here too, sending an image,
Don't worry, easy, easy Guys just copy this from here, change it
The information and send it to us It also has the functionality of
base64, I'm not going to go much into which is base64, but practically
Imagine what the code of this would be image, so if you have the code
of this image, you don't have the URL hers, but you have all the code
Her, gigantic here you can Send too, it only changes basically
This from here, let me send it here To test, it's here oh, sent
image with the evolution API, if you look at the documentation, it's the same
sendmedia, it's the same thing image, It's the same legend only in place
If you pass the URL, you have to Pass all the code there in the image
In base64, okay, so both Ways to send a message there, the
It's easier and more common for us send the URL, okay, I hope
Have you enjoyed this class and see you next time