idfm-api/types/channel.go

10 lines
376 B
Go
Raw Normal View History

2023-07-14 10:23:33 +00:00
package types
// A Channel is a destination media for a message.
type Channel struct {
ID ID `json:"id"` // ID of the address
ContentType string `json:"content_type"` // Content Type (text/html etc.) RFC1341.4
Name string `json:"name"` // Name of the channel
Types []string `json:"types,omitempty"` // Types ?
}