Message tags give you the permission to send messages within and beyond the 24-hour standard messaging window. However, they should strictly comply with Facebook Messenger Platform Policy.
Support for Legacy Message Tags
Facebook has announced a redesign of Message Tags which has effectively deprecated most of the original Message Tags. After March 4th, 2020 these will no longer be accepted by Facebook API.
However, since most of the legacy Message Tags can be easily mapped to a new Message Tag, Amio API still supports most of the legacy Message Tags (see table below) and will handle the "translation" to a new Message Tag automatically.
To send a message tag, you can use tag
reserved keyword in metadata
attribute:
{
"channel": { ... },
"contact": { ... },
"content": { ... },
"metadata": {
"tag": "POST_PURCHASE_UPDATE"
}
}
Parameter | Type | Description |
---|---|---|
tag | string | Tag to be sent with message: account_update , application_update , appointment_update , confirmed_event_reminder ,confirmed_event_update , issue_resolution ,non_promotional_subscription , payment_update , personal_finance_update ,post_purchase_update , reservation_update , shipping_update , ticket_update , transportation_update , see Facebook Documentation for full description. Tag can be set only if Types are not used. |
Supported Legacy Message Tags
These Tags will be "translated" automatically before sending them to Facebook API.
Legacy Message Tag | New Message Tag |
---|---|
APPLICATION_UPDATE | ACCOUNT_UPDATE |
APPOINTMENT_UPDATE | CONFIRMED_EVENT_UPDATE |
CONFIRMED_EVENT_REMINDER | CONFIRMED_EVENT_UPDATE |
ISSUE_RESOLUTION | ACCOUNT_UPDATE |
PAYMENT_UPDATE | POST_PURCHASE_UPDATE |
PERSONAL_FINANCE_UPDATE | ACCOUNT_UPDATE |
RESERVATION_UPDATE | POST_PURCHASE_UPDATE |
SHIPPING_UPDATE | POST_PURCHASE_UPDATE |
TICKET_UPDATE | CONFIRMED_EVENT_UPDATE |
TRANSPORTATION_UPDATE | CONFIRMED_EVENT_UPDATE |