Similar to the work we did with the legacy code of other channels like Twilio, we need to move the message creation and attachment creation to be under a single db commit for the line channel. Otherwise, the emitted webhook events for message creation will miss the attachment payload. Ref: https://github.com/orgs/chatwoot/discussions/7546#discussioncomment-10814495 Ref: https://github.com/chatwoot/chatwoot/pull/10167