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:
co-authored by
Claude Sonnet 4.6
parent
8a9235631c
commit
cb9d984ee8
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user