ce641cb233
Having everything under the one hood was not working. Doing this we can parse more information in a neater fashion
18 lines
233 B
Go
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
|
|
}
|