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

Timestamps in the history API - Ruby SDK

Is there a way to get the timestamp associated with each message when using the history API?

Ron_Carpa,

If you're using the REST API, add the following url query param:

include_token=true

More details here:

https://gist.github.com/stephenlb/d53f4cc3a891c03b478e#include-token-include_tokentrue

Glancing at the Ruby source, that option does not appear available yet:

https://github.com/pubnub/ruby/blob/master/lib/pubnub/events/history.rb


Comments to this discussion are now closed!