标签: javascript pubnub ttl
如何将已发布消息的DataTemplate设置为频道?
DataTemplate
我已经浏览了网站上的API文档,但我似乎无法找到任何文档,只有Pubnub APN的注释。
答案 0 :(得分:0)
您可以存储您发布的邮件或不存储它(有store_in_history parameter for publish API。
store_in_history
publish
如果存储了该消息,则其TTL(保留在存储中)将与您在密钥集中发布的所有其他消息相同。此设置位于存储和放大器中。在PubNub Admin Dashaboard