NON_PROMOTIONAL_SUBSCRIPTION is a tag not a type
Closed this issue · 4 comments
georgecheteles commented
From 1 january 2019 all messages sent outside the 24 hour window need to have the tag NON_PROMOTIONAL_SUBSCRIPTION and the messaging_type TYPE_MESSAGE_TAG.
In this library NON_PROMOTIONAL_SUBSCRIPTION is TYPE_NON_PROMOTIONAL_SUBSCRIPTION constant. That is not right. It should be a tag constant, eg TAG_NON_PROMOTIONAL_SUBSCRIPTION.
Also, the ImageMessage and VideoMessage classes do not have the tag setting.
Thanks
georgecheteles commented
Here is the FB documentation:
https://developers.facebook.com/docs/messenger-platform/send-messages/message-tags
wittfabian commented
Pull requests are welcome!
wittfabian commented
wittfabian commented
Done!