1
0
mirror of synced 2024-11-21 20:36:06 +03:00
messenger/message.go

18 lines
233 B
Go
Raw Normal View History

2016-04-13 09:14:23 +03:00
package messenger
import "time"
type Message struct {
2016-04-13 12:12:23 +03:00
Sender Sender
Recipient Recipient
2016-04-13 09:14:23 +03:00
Time time.Time
Text string
2016-04-13 12:12:23 +03:00
Seq int
}
type Delivery struct {
Mids []string
Watermark time.Time
Seq int
2016-04-13 09:14:23 +03:00
}