02.08.2022, 07:47
You have to make a separate request for each recipient:
Code:
from_nr = '+13253264263'
to_nrs = { 'Number1', 'Number2', 'Number3' }
id_nr = '***' --
token_nr = '***' --
for _, to_nr in ipairs(to_nrs) do
sms(id_nr, token_nr, from_nr, to_nr, 'Alarm HCWC 009 changed to Alarm OFF')
end