Rich Link
- 05 Jun 2024
- 1 Minute to read
- Contributors
- Print
- DarkLight
- PDF
Rich Link
- Updated on 05 Jun 2024
- 1 Minute to read
- Contributors
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
With Rich Link, you can send messages with images and videos to clients.
For more information on Rich Link, go to the official documentation of Apple Messages for Business: Rich Link Messages.
Example
Below, you can see the richLink task reference in the Attachments State Diagram.
{
"abc": {
"type": "rich_link",
"rich_link": {
"richLinkData": {
"url": "https://www.corezoid.com/",
"title": "Welcome to Corezoid!",
"assets": {
"image": {
"data": "<…code img in base64…>",
"mimeType": "image/png"
}
}
}
}
}
}
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
type | string | + | A type of an object to send. |
rich_link | object | + | An object in which all Rich Link parameters are described. |
rich_link.richLinkData | object | + | An object that contains data to form an object. |
richLinkData.url | string | + | A link the customer will follow after “tapping” the item. |
richLinkData.title | string | + | An item’s title. |
richLinkData.assets | object | + | An object in which an image or a video is described. |
richLinkData.assets.image | object | + | An object in which an image is described. |
richLinkData.assets.image.data | string | + | Base64 that presents a used item. |
richLinkData.assets.image.mimeType | string | + | MimeType, for example: image/jpeg, image/png. |
richLinkData.assets.video | object | + | An object in which a video is described. |
richLinkData.assets.video.url | string | + | A link to a video. |
richLinkData.assets.image.mimeType | string | + | MimeType, for example: video/mp4, video/mpeg. |
You can convert an image to base64 in the online converter:
Was this article helpful?