code: func (f *PeerEventsFilter) ReceivedMessages() *PeerEventsFilter {
  	f.eventType = simulations.EventTypeMsg
  	b := true
  	f.msgReceive = &b
  	return f
  }
docs: // ReceivedMessages sets the filter to only messages that are received.