nyaruka / courier

Messaging gateway for RapidPro/TextIt.
Other
116 stars 69 forks source link

Allow Message ID from external providers #669

Open mzealey opened 11 months ago

mzealey commented 11 months ago

In https://github.com/nyaruka/courier/blob/main/handlers/external/handler.go#L216 when a new message is received, the string "" is passed for the message ID. However many external providers may provide message IDs. It would be great if you could add an extra optional parameter (similar to date) for message ID in this provider, and from looking at the code I don't think it would be too complex?