pub fn to_pdu_event<S>(
id: &str,
sender: &UserId,
ev_type: TimelineEventType,
state_key: Option<&str>,
content: Box<RawValue>,
auth_events: &[S],
prev_events: &[S],
) -> PduEventExpand description
Builds a fixture PDU with synthetic identifiers and an increasing timestamp.
Auth and previous event references accept bare names or full identifiers.