Hi. I am working on getting all Direct Message events with GET direct_messages/events/list. For “count” parameter, the documentation says “Max number of events to be returned. 20 default. 50 max”. My code is like below.
$content = $conn->get("direct_messages/events/list", ["count"=>50]);
Below is the response I got.
object(stdClass) public 'events' => array (size=41) 0 => ... ... object(stdClass) public 'events' => array (size=19) 0 => ...
The total number of messages is 60. But the max count of messages returned from one request was 41, not 50.
Any ideas? Thank you!