问题描述
我正在使用 FCM 控制台发送推送通知,它可以选择安排交货日期.
I have working with FCM console to send push notification and it has an option to schedule the delivery date.
但在参考资料中,此 API 并未作为选项记录.我需要知道是否可以通过 POST 请求推送具有预定义交货日期的通知.
But in the references, this API is not documented as an option. I need to know if its possible to push a notification with predefined delivery date through a POST request.
推荐答案
如果您正在寻找 FCM 的公共 API 用于计划推送或可以设置推送日期的有效负载参数,不幸的是,没有类似的截至目前.
If you're looking for a public API of FCM for a scheduled push or a payload parameter where you can set the push date, unfortunately, there's nothing like it as of the moment.
您必须实现自己的 App Server 并自己实现定时推送(在这里也提到过).
You must implement your own App Server and implement the scheduled push yourself (also mentioned it here).
这篇关于FCM Schedule 推送通知的发送日期或时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!