问题
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