1
0
Fork 0
mirror of https://github.com/owncast/owncast.git synced 2024-10-28 10:09:39 +01:00
owncast/message.go
2020-06-01 23:50:32 -07:00

11 lines
213 B
Go

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