The conversationIds part of the response specifies the sorted order of the conversations, however it is not present in the GetConversationsResponse. This makes determining the after conversation ID that is needed for paginated calls quite difficult.
That value does appear to be present in the protos function that is called by the public-api ModMailService, so adding it should be quite simple:
The getConversations() function for ModMail does not expose the sort order of the conversations.
The Modmail API returns something like this:
The
conversationIds
part of the response specifies the sorted order of the conversations, however it is not present in theGetConversationsResponse
. This makes determining theafter
conversation ID that is needed for paginated calls quite difficult.That value does appear to be present in the protos function that is called by the public-api ModMailService, so adding it should be quite simple: