idfm-api/types/message.go

8 lines
255 B
Go
Raw Normal View History

2023-07-14 10:23:33 +00:00
package types
// A Message contains the text to be provided to the traveler.
type Message struct {
Text string `json:"text"` // The message to bring to the traveler
Channel *Channel `json:"channel"` // The destination media for this Message.
}