Align GoChat with Chatwoot frontend contracts

This commit is contained in:
2026-06-13 22:13:32 +08:00
parent 71abf58636
commit d884fdda0a
162 changed files with 9825 additions and 528 deletions
@@ -97,6 +97,10 @@ func (a whatsAppPersisterAdapter) UpdateMessageStatus(ctx context.Context, inbox
return a.persister.UpdateMessageStatus(ctx, inbox, sourceID, status, occurredAt)
}
func (a whatsAppPersisterAdapter) UpdateMessageStatusWithError(ctx context.Context, inbox *model.Inbox, sourceID string, status model.MessageStatus, occurredAt *time.Time, externalError string) error {
return a.persister.UpdateMessageStatusWithError(ctx, inbox, sourceID, status, occurredAt, externalError)
}
// HandleWhatsAppVerification handles GET requests for WhatsApp Cloud API
// webhook verification. Meta sends this request during initial webhook setup
// and periodic re-verification. It delegates to the underlying