fix(types): change Content field type in MessageLog to interface{} for improved flexibility

This commit is contained in:
Chang lue Tsen 2025-08-21 08:24:30 -04:00
parent 87c771bbd4
commit c04923015e
2 changed files with 16 additions and 16 deletions

View File

@ -540,7 +540,7 @@ type (
Platform string `json:"platform"`
To string `json:"to"`
Subject string `json:"subject"`
Content map[string]interface{} `json:"content"`
Content interface{} `json:"content"`
Status uint8 `json:"status"`
CreatedAt int64 `json:"created_at"`
}

View File

@ -1023,7 +1023,7 @@ type MessageLog struct {
Platform string `json:"platform"`
To string `json:"to"`
Subject string `json:"subject"`
Content map[string]interface{} `json:"content"`
Content interface{} `json:"content"`
Status uint8 `json:"status"`
CreatedAt int64 `json:"created_at"`
}