public function getEvents($id, $eventName = null, $limit = 20, $offset = 0)
    {
        $params = [
            'count' => $limit,
            'after' => $offset
        ];

        if ($eventName) {
            $params['filter_name'] = $eventName;
        }

        $data = $this->call('users/' . $id . '/events', $params, 'get');

        $array = [];
        if ($data) {
            foreach ($data as $msg) {
                $array[] = Event::fromResponse($msg);
            }
        }

        return $array;
    }