Added comprehensive Twilio WhatsApp content template support (Phase 1)
enabling text, media, and quick reply templates with proper parameter
conversion, sync capabilities.
**Template Types Supported**
- Basic Text Templates: Simple text with variables ({{1}}, {{2}})
- Media Templates: Image/Video/Document templates with text variables
- Quick Reply Templates: Interactive button templates
Front end changes is available via #12277
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
8 lines
181 B
Ruby
8 lines
181 B
Ruby
class Channels::Twilio::TemplatesSyncJob < ApplicationJob
|
|
queue_as :low
|
|
|
|
def perform(twilio_channel)
|
|
Twilio::TemplateSyncService.new(channel: twilio_channel).call
|
|
end
|
|
end
|