SimpleCloudNotifier/scnserver/models/compat.go

12 lines
330 B
Go
Raw Permalink Normal View History

2022-11-13 19:17:07 +01:00
package models
type CompatMessage struct {
2022-11-20 01:28:32 +01:00
Title string `json:"title"`
2023-01-17 21:30:53 +01:00
Body *string `json:"body"`
2022-11-20 01:28:32 +01:00
Priority int `json:"priority"`
Timestamp int64 `json:"timestamp"`
UserMessageID *string `json:"usr_msg_id"`
SCNMessageID int64 `json:"scn_msg_id"`
Trimmed *bool `json:"trimmed"`
2022-11-13 19:17:07 +01:00
}