The community forums are in BETA and closed to the public.

python api: publish w/ history

How do I use the python api to publish a message to a channel and cause it be stored in history? The iOS client has special methods for that, but I don't see anything in the python api...

There are no special methods (in any SDK) to store messages when you publish. By adding the Storage & Playback add-on in your PubNub Dashboard, all messages that you publish on any channel will be stored and retrievable using the history API. There are publish methods with a "storeInHistory" flag that is default to true when not provided that if you set to false will prevent the message from being persisted in storage.


Comments to this discussion are now closed!