Skip to main content

get_events

Function get_events 

Source
pub async fn get_events(
    chat_id: i64,
    kinds: Option<&[u16]>,
    limit: usize,
    offset: usize,
) -> Result<Vec<StoredEvent>, String>
Expand description

Get events for a chat with pagination, optionally filtered by kind. Message/edit content is decrypted via maybe_decrypt.