Closed eladrave closed 1 month ago
add an env variable like this: allowedSenders="+19253858017;+972546266782;...."
and then, once a message is received, if the "From" number is not in the list, then stop and ignore.
(This will make sure no one can use the whatsapp except those allowed)
Only numbers present in teh users table can send (all other numbers are ignored)
add an env variable like this: allowedSenders="+19253858017;+972546266782;...."
and then, once a message is received, if the "From" number is not in the list, then stop and ignore.
(This will make sure no one can use the whatsapp except those allowed)