cwtch/model/message.go

15 lines
238 B
Go

package model
import (
"time"
)
// Message is a local representation of a given message sent over a group chat channel.
type Message struct {
Timestamp time.Time
PeerID string
Message string
Signature []byte
Verified bool
}