Enhance the customer's experience by allowing them to preview inline content.
When a business sends a URL with an inline image or video to a customer, the customer receives a "Tap to Load Preview" message, which the customer then needs to tap to load the content. To allow customers to preview content inline without first loading a preview, you can send a rich link message instead.
Add an Image Using Rich Links
When coding a richLinkData message to send an image, you need to include the business URL, title of the image, and details about the image, including its data and MIME types, as shown in Listing 1.
Figure 1 shows an image rich link bubble on iPhone.
Add a Video and Image Using Rich Links
When sending video as a rich link, include a complementary background image or something from the video. Video and image rich links require the same assets⏤URL, title, data, and MIME types⏤to create the message bubble. Video rich links also include a URL to the video, as shown in Listing 2.
Figure 2 shows a video rich link bubble, displayed in Messages on iPhone. The play button is the video link, which sits on top of the background image. The video loads and starts playing when tapped.