Don't look at me 🤷♂️. One would expect that, if you only subscribe to messages updates, you would only get messages objects. Seems like I was wrong...
Clearly this is a "sent message" status update. They should be separated in the API subscriptions, but seems like not. A statuses check would be better than throwing an error in the Handler. Maybe the handler could also take a second callback for statuses.
Don't look at me 🤷♂️. One would expect that, if you only subscribe to messages updates, you would only get messages objects. Seems like I was wrong...
I got this request after sending a message:
Clearly this is a "sent message" status update. They should be separated in the API subscriptions, but seems like not. A statuses check would be better than throwing an error in the Handler. Maybe the handler could also take a second callback for statuses.