deltachat::location

Function is_sending_locations_to_chat

source
pub async fn is_sending_locations_to_chat(
    context: &Context,
    chat_id: Option<ChatId>,
) -> Result<bool>
Expand description

Returns whether chat_id or any chat is sending locations.

If chat_id is Some only that chat is checked, otherwise returns true if any chat is sending locations.