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
Platform | Supported |
---|---|
Messenger | |
Telegram |
Usage
On-Demand
Reply
request param
Name | Description |
---|---|
| Required. The invitation/request title. The character limit is 65. |
| Optional. The URL of the image to display. |
| Required. After perms granted/removed event, a postback action block will be called if exists in the context. |
| Required.
|
| Optional.
If |
| Optional. Can be set by Pages which determine when they can send Recurring Notifications after user opt-in. If Pages do not specify a timezone, the default timezone is UTC. Please see the list of valid time zones. |
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