feat: Support for Whatsapp Cloud API (#4938)

Ability to configure Whatsapp Cloud API Inboxes

fixes: #4712
This commit is contained in:
Sojan Jose
2022-07-06 21:45:03 +02:00
committed by GitHub
parent 4375a7646e
commit a6c609f43d
27 changed files with 999 additions and 229 deletions

View File

@@ -83,6 +83,7 @@ end
### WhatsApp Channel
if resource.whatsapp?
json.provider resource.channel.try(:provider)
json.message_templates resource.channel.try(:message_templates)
json.provider_config resource.channel.try(:provider_config)
json.provider_config resource.channel.try(:provider_config) if Current.account_user&.administrator?
end