Normally, when you want to create an image response, you can just directly paste the image URL in the response section. However, if you look close enough, you will notice that the Facebook chatbot takes long time to send out the image even though the image size is just a few hundreds KB. Sometimes, you will not be able to receive the image if its size is even bigger.
In the response of any kind of media files, you will be able to see two fields: URL and Attachment ID.
Attachment ID is a unique ID string that belongs to a media file (i.e. images, videos, audios & files) under each Facebook page. Using Attachment ID to send media files out, it reduce the long uploading & sending time and allows you to resend the uploaded assets for multiple times.
Users should create a Facebook Integration before being able to use the Attachment ID Uploader.
You must select the SAME file type as your uploaded media file. If there is any mismatch in the file type, the file would not be sent in the chatbot.
Each Attachment ID is only applicable to one Facebook page, other Facebook pages could not use the same Attachment ID to get the same image.
You can do the same with WhatsApp Cloud API. Media ID is just the attachment ID specific to WhatsApp platform.
Users should create a WhatsApp Cloud Integration before being able to use the Attachment ID Uploader.
You must select the SAME file type as your uploaded media file. If there is any mismatch in the file type, the file would not be sent in the chatbot.