twilio
twilio copied to clipboard
Twilio customized to phone number
Issue: https://github.com/laravel-notification-channels/twilio/issues/118
To() method will allow developers to add phone numbers dynamically from the notification itself. If the user needs to use different phone numbers for different notifications, it will help a lot.
This is just to check if any recipient number is provided in the message itself. If provided, this means the developer wants to override the notifiable user's phone number. And if not overridden, then we can safely use the notifiable's phone number as it was before.