1
0
mirror of synced 2024-11-24 22:06:06 +03:00
messenger/message.go
Harrison Shoebridge ce641cb233 Rewrite handlers management
Having everything under the one hood was not working. Doing this we can
parse more information in a neater fashion
2016-04-13 19:26:31 +10:00

18 lines
233 B
Go

package messenger
import "time"
type Message struct {
Sender Sender
Recipient Recipient
Time time.Time
Text string
Seq int
}
type Delivery struct {
Mids []string
Watermark time.Time
Seq int
}