recurring_notification_request
Sends a subscription request for recurring notifications in Messenger, which can be: daily, weekly and monthly.
Last updated
Sends a subscription request for recurring notifications in Messenger, which can be: daily, weekly and monthly.
Last updated
recurring_notification_request(request=Hash)
Platform | Supported |
---|---|
recurring_notification
To capture the subscription and unsubscription events with this action block.
The user's subscription status can be verified by calling the messenger_recurring_notification_data()
method on the User
model.
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.
Name | Description |
---|---|
Messenger
Telegram
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
Required. After perms granted/removed event, a postback action block will be called if exists in the context.
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
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.