title: Microsoft Graph paging with list message and list reply?
body: <p>I'm integrating Microsoft Teams into my app using microsoft graph API.
  But with the API to get list message, I used parameter $top={pageSize} for pagination, then I got surprised that in the first call, the response returned &quot;pageSize - 1&quot; records, not exactly the number of pageSize.</p>
  <p>In contrary, the API to get list replies, it returned exactly &quot;pageSize&quot; records in the first call.</p>
  <p>I don't understand why is there a difference like this between message and relpy. Can anyone help me?</p>
  <p>This is the pattern of the API that I used:
  <a href="https://graph.microsoft.com/beta/teams/%7BteamId%7D/channels/%7BchannelId%7D/messages?$top=%7BpageSize%7D" rel="nofollow noreferrer">https://graph.microsoft.com/beta/teams/{teamId}/channels/{channelId}/messages?$top={pageSize}</a></p>
  <p><a href="https://graph.microsoft.com/beta/teams/%7BteamId%7D/channels/%7BchannelId%7D/messages/%7BmessageId%7D/replies?$top=%7BpageSize%7D" rel="nofollow noreferrer">https://graph.microsoft.com/beta/teams/{teamId}/channels/{channelId}/messages/{messageId}/replies?$top={pageSize}</a></p>