chore: Handle attachments in Whatsapp Channel (#3299)
send and receive attachments in 360Dialog WhatsApp channels
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user