twilio / twilio-ruby

A Ruby gem for communicating with the Twilio API and generating TwiML
MIT License
1.35k stars 462 forks source link

Add `force_opt_in` keyword parameter to `messages#create` #595

Closed pranav7 closed 2 years ago

pranav7 commented 2 years ago

Why?

For our use at Intercom, we need to pass the ForceOptIn parameter to the API call when sending messages. The parameter is currently not supported by this client. I noticed at one point it was added in 5.20.1, but subsequently removed in 5.25.4. I cannot find anything in the changelog to explain why it was removed.

This PR aims to add that parameter back?

Fixes

A short description of what this PR does.

Checklist

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.