Pusheo Documentation

Step by step instructions for easy installation and configuration of Pusheo.

History

$history contains a JSON of all the history messages.

If you do not wish to receive the timestamp of each message, set returnTimestamp to false. By default, it is set to true and it is not compulsory to declare.

a. Count:
50 latest messages will be returned from the server.

$history = $pusheo->history(
    array(
        'channel' => 12345,
        'returnTimestamp' => true,
        'count' => 50
));

b. Timestamp:
Messages from the given timestamp till date will be returned.

$history = $pusheo->history(
    array(
        'channel' => 12345,
        'returnTimestamp' => false,
        'timestamp' => 137766667777
));