chatwoot/spec/jobs/webhooks
Muhsin Keloth 5c3b85334b
feat: Add support for shared post and story attachment types in Instagram messages (#12997)
When users share Instagram posts or stories via DM, Instagram sends
webhooks with type `ig_post` and `ig_story` attachments. The system was
failing on these types because they weren't defined in the file_types.
This PR fixes the issue by handling all shared types and rendering them
on the front end.

**Shared post**

<img width="2154" height="1828" alt="CleanShot 2025-12-03 at 16 29
14@2x"
src="https://github.com/user-attachments/assets/7e731171-4904-43a6-abeb-b1db2c262742"
/>

**Shared status**
<img width="1702" height="1676" alt="CleanShot 2025-12-03 at 16 10
25@2x"
src="https://github.com/user-attachments/assets/6a151233-ce47-429d-b7c2-061514b20e05"
/>


Fixes
https://linear.app/chatwoot/issue/CW-5441/argumenterror-ig-story-is-not-a-valid-file-type-argumenterror
2025-12-04 05:20:47 +05:30
..
facebook_delivery_job_spec.rb feat: Facebook delivery reports (#8136) 2023-11-20 12:22:45 +05:30
facebook_events_job_spec.rb feat: implement mutex for SlackSendJob (#7783) 2023-08-25 11:58:29 +07:00
instagram_events_job_spec.rb feat: Add support for shared post and story attachment types in Instagram messages (#12997) 2025-12-04 05:20:47 +05:30
line_events_job_spec.rb chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30
sms_events_job_spec.rb feat: Bandwidth sms channel delivery reports (#8198) 2023-10-27 14:07:15 -07:00
telegram_events_job_spec.rb chore: Add warning logs when Chatwoot receives events for inactive channels (#11066) 2025-03-12 08:16:47 -07:00
twilio_delivery_status_job_spec.rb chore: Move Twilio event processing to background job (#11094) 2025-03-15 13:51:08 -07:00
twilio_events_job_spec.rb fix: Support location messages in Twilio WhatsApp integration (#11830) 2025-06-30 11:35:32 +05:30
whatsapp_events_job_spec.rb chore: Logger for non-existent WhatsApp channels (#11064) 2025-03-12 15:50:38 -07:00