We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fcc13d commit 96182ebCopy full SHA for 96182eb
node.js/examples/history_token.js
@@ -5,7 +5,7 @@
5
6
--------------------------------------------------------------------------- */
7
var PUBNUB = require("./../pubnub.js");
8
-var channel = 'my_channel1';
+var channel = 'demo';
9
var pubnub = PUBNUB.init({
10
publish_key : "demo",
11
subscribe_key : "demo"
@@ -15,6 +15,7 @@ var pubnub = PUBNUB.init({
15
16
pubnub.history({
17
channel : channel,
18
+ count : 5,
19
include_token : true,
20
string_message_token : true,
21
callback : function(messages) {
0 commit comments