recurring_notification_request
Sends a subscription request for recurring notifications in Messenger, which can be: daily, weekly and monthly.
recurring_notification_request(request=Hash)
recurring_notification_request(request=Hash)
Platforms
Messenger
Telegram
Usage
On-Demand
Reply
request param
title
String
Required.
The invitation/request title. The character limit is 65.
image_url
String
Optional. The URL of the image to display.
payload
String/Symbol
frequency
Enum
Required.
:daily
, :weekly
or :monthly
.
reoptin
Boolean
Optional.
If true
, sends a re opt-in template to the user after the set period for Recurring Notifications ends.
By default false
timezone
String
Action Block recurring_notification
recurring_notification
To capture the subscription and unsubscription events with this action block.
Subscription Status
The user's subscription status can be verified by calling the messenger_recurring_notification_data()
method on the User
model.
Sending Notifications
To send a notification using the recurring notification token, just call send_using_token()
method instead of send()
.
Learn more about Messenger Recurring Notification in the official documentation.
Last updated
Was this helpful?