fix: the "detail" field is empty, an empty field was sent to the upstream system.

This commit is contained in:
Seefs
2026-03-23 15:00:20 +08:00
parent d6982c8182
commit ded4a124e2

View File

@@ -393,7 +393,7 @@ func (m *MediaContent) GetVideoUrl() *MessageVideoUrl {
type MessageImageUrl struct {
Url string `json:"url"`
Detail string `json:"detail"`
Detail string `json:"detail,omitempty"`
MimeType string
}