fix: capturar subid de LabsMobile como MsgID en logs de SMS

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-24 18:36:14 -05:00
co-authored by Claude Sonnet 4.6
parent 8a9235631c
commit cb9d984ee8
2 changed files with 10 additions and 2 deletions
+8
View File
@@ -28,6 +28,14 @@ type WebSmsResponse struct {
Code string `json:"code"`
Message string `json:"message"`
ID string `json:"id"`
SubID string `json:"subid"`
}
func (r *WebSmsResponse) MsgID() string {
if r.ID != "" {
return r.ID
}
return r.SubID
}
type WebSmsAckPayload struct {