pub async fn get_last_message_for_chat(
    context: &Context,
    chat_id: ChatId
) -> Result<Option<MsgId>>
Expand description

Gets the last message of a chat, the message that would also be displayed in the ChatList Used for passing to deltachat::chatlist::Chatlist::get_summary2