Right now it always returns all messages content as well, would be nice to only return this if a certain property is given.
Since returning the content has been default for ever, prolly best to implement nocontent as a boolean parameter (instead of adding it as an optional prop to include).
Assining to self, I've got it mostly done locally will attach patch soon.
Version: unspecified
Severity: enhancement