1
0
mirror of synced 2024-11-25 06:16:07 +03:00
messenger/message.go

19 lines
254 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
Delivery *Delivery
}
type Delivery struct {
Mids []string
Watermark time.Time
Seq int
2016-04-13 09:14:23 +03:00
}