chatwoot/spec/services/tiktok
Muhsin Keloth b8108b71c1
fix(tiktok): Resolve media upload failures and gate attachments by conversation capability (#13643)
This PR fixes TikTok attachment send failures and adds a
capability-based guard so attachments are only enabled for conversations
that support media sending.

- Fixed TikTok media upload request formatting so TikTok accepts image
uploads reliably.
- Added TikTok capability check (IMAGE_SEND) during conversation
creation.
- Stored capability in
conversation.additional_attributes.tiktok_capabilities.
- Updated reply composer UI to disable/hide attachment upload for TikTok
conversations where image_send is false.

Fixes
https://linear.app/chatwoot/issue/CW-6532/enable-attachments-based-on-the-conversation-capability
and
https://linear.app/chatwoot/issue/CW-6996/unable-to-send-image-attachments-to-tiktok-customer-400-parsing-error

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Muhsin <12408980+muhsin-k@users.noreply.github.com>
2026-05-06 11:21:15 +04:00
..
client_spec.rb fix(tiktok): Resolve media upload failures and gate attachments by conversation capability (#13643) 2026-05-06 11:21:15 +04:00
message_service_spec.rb fix(tiktok): Resolve media upload failures and gate attachments by conversation capability (#13643) 2026-05-06 11:21:15 +04:00
read_status_service_spec.rb feat(inbox): Enable conversation continuity for social channels (#11079) 2026-02-25 13:56:51 +04:00
send_on_tiktok_service_spec.rb fix(tiktok): Resolve media upload failures and gate attachments by conversation capability (#13643) 2026-05-06 11:21:15 +04:00
token_service_spec.rb feat: TikTok channel (#12741) 2025-12-17 07:54:50 -08:00