fix: support desp alias when using POST method

This commit is contained in:
JustSong
2022-12-07 16:11:34 +08:00
parent 6adfebeb73
commit fa486b15cc
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -20,6 +20,7 @@ const (
type Message struct {
Title string `json:"title"`
Description string `json:"description"`
Desp string `json:"desp"` // alias for description
Content string `json:"content"`
URL string `json:"url"`
Channel string `json:"channel"`