Billy
Billy

Reputation: 853

How to send delayed messages twilio?

I'm trying to send delayed messages through twilio based on a time that the user specifies on a ruby on rails application. What is the best way to accomplish this? Which gem(s) should I use? Thanks.

Upvotes: 1

Views: 2405

Answers (1)

Adil
Adil

Reputation: 230

I've used the twilio-ruby gem before and it works great

Twilio do not allow you to schedule sms delivery directly via their API, however a workaround is to use a background job in your rails app to send the sms at at specified time, for example you could use Sidekiq's Scheduled Jobs

Upvotes: 2

Related Questions