Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialog ¶
type Dialog struct { ID DialogID `validator:"nonzero"` ParticipantsIDs []*Participant `validator:"nonzero"` }
type Message ¶
type Participant ¶
type Participant struct { ID ParticipantID `validator:"nonzero"` UserID UserID `validator:"nonzero"` }
func (*Participant) Validate ¶
func (p *Participant) Validate() error
type ParticipantID ¶
type ParticipantID string
func (ParticipantID) String ¶
func (p ParticipantID) String() string
Click to show internal directories.
Click to hide internal directories.