This commit is contained in:
shikong 2024-04-21 00:31:40 +08:00
parent 150772e8e7
commit 42466e7b46

View File

@ -3,11 +3,11 @@ package client
import "gotify-client/pkg/utils/time" import "gotify-client/pkg/utils/time"
type GotifyMessage struct { type GotifyMessage struct {
Id int `json:"id"` Id int `json:"id"`
Appid int `json:"appid"` Appid int `json:"appid"`
Message string `json:"message"` Message string `json:"message"`
Title string `json:"title"` Title string `json:"title"`
Priority int `json:"priority"` Priority int `json:"priority"`
Extras interface{} `json:"extras"` Extras map[string]any `json:"extras"`
Date time.Time `json:"date"` Date time.Time `json:"date"`
} }