Thanks a lot for this script. It was one of the few which worked right from the pull.
However, I found out that it does not retrieve replies to the messages (threads) so I decided to add new fetch_replies function which leverages conversation.replies API endpoint and adds new replies key to the messages.
Thanks a lot for this script. It was one of the few which worked right from the pull.
However, I found out that it does not retrieve replies to the messages (threads) so I decided to add new
fetch_replies
function which leverages conversation.replies API endpoint and adds newreplies
key to the messages.