yoake/internal/comm/model/generic.go

12 lines
384 B
Go
Raw Normal View History

2022-11-11 16:15:22 -06:00
package model
type GenericMessage struct {
2022-11-13 00:17:42 -06:00
Subject string `json:"subject" form:"subject" query:"subject"`
Body string `json:"body" form:"body" query:"body"`
MIME string `json:"mime" form:"mime" query:"mime"`
2022-11-18 23:37:30 -06:00
Priority int `json:"priority" form:"priority" query:"priority"`
2022-11-13 00:17:42 -06:00
ThreadID uint64 `json:"thread_id" form:"thread_id" query:"thread_id"`
2022-11-11 16:15:22 -06:00
Context interface{}
}