extract_relation

Function extract_relation 

Source
pub fn extract_relation(
    event: &Raw<AnySyncTimelineEvent>,
) -> Option<(RelationType, OwnedEventId)>
Expand description

Try to extract the type and target of a relation, from a raw timeline event, if provided.