Skip to main content

event_id

Function event_id 

Source
pub fn event_id() -> OwnedEventId
Expand description

Generates a Matrix event identifier from 32 random bytes.

The bytes use URL-safe base64 without padding, producing a 43-character localpart after the $ sigil. The identifier has no server-name component.