function-templates
function-templates copied to clipboard
Updates to sms-broadcast
I really liked the concept of the sms-broadcast function. But I wanted to take things one-step further & give adminNumber(s) the ability to send a broadcast to a specific "group" of users (or to all users).
I'm attaching my revised function to this post. You are welcome to use the updated function as a replacement for the sms-broadcast function. Or, you can publish a brand new function called "group-based SMS broadcast".
The function uses v1.services, because "services" is deprecated. I tried using v2.services, but that resulted in an error message.
Thank you so much for opening your first issue in this project! We'll try to get back to it as quickly as possible. While you are waiting...here's a random picture of a corgi (powered by dog.ceo)

The JS code still works (as written), but I had two comments that needed to be updated. The revised JS function can be found here: revised-group-based-sms-broadcast.zip