Function deltachat::location::save

source ·
pub(crate) async fn save(
    context: &Context,
    chat_id: ChatId,
    contact_id: ContactId,
    locations: &[Location],
    independent: bool
) -> Result<Option<u32>>
Expand description

Saves given locations to the database.

Returns the database row ID of the location with the highest timestamp.