How to send scheduled message via HTTP POST? [duplicate]

情到浓时终转凉″ 提交于 2020-04-30 07:35:27

问题


In FB Console, I can schedule the message to be sent at later time.

Is this possible to do with HTTP POST from my server?

Something like this:

 {
  "to" : "/topics/news",
  "at": "2016-01-13T14:55",
  "data" : {
    "message": "sync"
  }
 }

回答1:


Unfortunately, as of the moment, no such parameter exists that can be used to set when a Push Notification will be sent. It is only available when using the Firebase Console or if you implement the time delay via your own App Server.



来源:https://stackoverflow.com/questions/40031928/how-to-send-scheduled-message-via-http-post

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!