This library provides easy access to the Events resource.
Note: All methods return promises and accept an optional last argument callback. Read about how we handle callbacks and promises.
- searchMessage([params, callback])
Search for events of type message using the given parameters (NOTE: all params are optional):params
- a hash of Events URI Parameters
The from
and to
search parameters accept date stamps of the form:
YYYY-MM-DDTHH:MM
For example: 2016-11-14T16:15
.
Note: timestamps are expressed in the timezone specified by the timezone
parameter or UTC by default.
Visit our examples section to see all of our events resource examples.