I'm using the SMS subscription event and attempting to pull the details of outbound messages from the message store. This works fine if it's a single SMS, but if messages are being sent in relatively rapid succession (say three messages over the span of 25 seconds), I'm seeing the event looks like this
lastUpdated: '2019-03-01T16:45:32.899Z',
changes: [ { type: 'SMS', newCount: 2, updatedCount: 1 } ] }
Trying to filter the message store by either the time stamp or the newCount ends up missing one (or more) of the messages. I could subtract a given value from the timestamp, but that then runs the risk of pulling in duplicated values.
Anyone with some insight into this?