I've added this as an argument to the send call, as it feels more like metadata about the send than a property of the message itself. It's backward compatible, so I've just incremented the minor version.
I also made some minor test cleanups, using a fixture instead of repeated creation of a messenger client instance.
Coverage remained the same at 100.0% when pulling 4e6afd3875ff2b6b5d8afed8dcb47b96f595c9ed on danfairs:notification-types into 7cd02a21baa17b978042e79e3f374f094cc7b5b9 on rehabstudio:master.
This adds support for notification_type (https://developers.facebook.com/docs/messenger-platform/reference/send-api/). It controls how the user is notified about an outgoing message.
I've added this as an argument to the send call, as it feels more like metadata about the send than a property of the message itself. It's backward compatible, so I've just incremented the minor version.
I also made some minor test cleanups, using a fixture instead of repeated creation of a messenger client instance.
Let me know if you need any changes!