support voice message

This commit is contained in:
Shen Junzheng
2025-04-12 02:50:43 +08:00
parent ba3563ad4e
commit 4aeaca118e
15 changed files with 338 additions and 137 deletions

View File

@@ -10,6 +10,7 @@ type Media struct {
Path string `json:"path"`
Name string `json:"name"`
Size int64 `json:"size"`
Data []byte `json:"data"` // for voice
ModifyTime int64 `json:"modifyTime"`
}