chore: Handle attachments in Whatsapp Channel (#3299)

send and receive attachments in 360Dialog WhatsApp channels
This commit is contained in:
Sojan Jose
2021-11-11 11:33:48 +04:00
committed by GitHub
parent b3e313a200
commit a4c87f2052
33 changed files with 422 additions and 45 deletions

View File

@@ -4,7 +4,7 @@ FactoryBot.define do
factory :bot_message_card, class: Hash do
title { Faker::Book.name }
description { Faker::Movie.quote }
media_url { 'https://via.placeholder.com/250x250.png' }
media_url { 'https://chatwoot-assets.local/sample.png' }
actions do
[{
text: 'Select',

View File

@@ -22,12 +22,12 @@ FactoryBot.define do
'1' => {
id: '1',
name: 'person 1',
profile_image_url: 'https://via.placeholder.com/250x250.png'
profile_image_url: 'https://chatwoot-assets.local/sample.png'
},
'2' => {
id: '1',
name: 'person 1',
profile_image_url: 'https://via.placeholder.com/250x250.png'
profile_image_url: 'https://chatwoot-assets.local/sample.png'
}
}
end