feat: Facebook delivery reports (#8136)

This commit is contained in:
Muhsin Keloth
2023-11-20 12:22:45 +05:30
committed by GitHub
parent feead30b0b
commit 6c8dacfa0d
7 changed files with 195 additions and 20 deletions

View File

@@ -10,4 +10,24 @@ FactoryBot.define do
initialize_with { attributes }
end
factory :message_deliveries, class: Hash do
messaging do
{ sender: { id: '3383290475046708' },
recipient: { id: '117172741761305' },
delivery: { watermark: '1648581633369' } }
end
initialize_with { attributes }
end
factory :message_reads, class: Hash do
messaging do
{ sender: { id: '3383290475046708' },
recipient: { id: '117172741761305' },
read: { watermark: '1648581633369' } }
end
initialize_with { attributes }
end
end