owncast/message.go
2020-06-02 17:59:58 -07:00

12 lines
240 B
Go

package main
type Message struct {
Author string `json:"author"`
Body string `json:"body"`
Image string `json:"image"`
Id string `json:"id"`
}
func (self *Message) String() string {
return self.Author + " says " + self.Body
}