format(\DateTime::ATOM), 0, 16); } } return $this->get(null, $queryParams); } /** * List descriptions of the event fields that could be included in a response from the MessageEvent::search() method. * * @return array The event field descriptions. */ public function documentation() { return $this->get('events/documentation'); } /** * List examples of the event data that will be included in a response from the MessageEvent::search() method. * * @param array $events (optional) Event types for which to get a sample payload. If not provided, samples * for all events will be returned. * * @return array Sample events. */ public function samples(array $events = []) { return $this->get('events/samples', ['events' => $events]); } }