You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: tgbot.rs
    path of file: ./repos/ServerStatus-Rust/server/src/notifier
    
    the code of the file until where you have to start completion: #![deny(warnings)]
use anyhow::Result;
use log::{error, info};
use minijinja::context;
use reqwest;
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use tokio::time::Duration;

use crate::jinja::{add_template, render_template};
use crate::notifier
    
    fn send_notify(&self, html_content: String) -> Result<()> {
        let mut data = HashMap::new();
        data.insert("chat_id", self.config.chat_id.to_string());
        data.insert("parse_mode", "HTML".to_string());
        data.insert("text", html_content);

        let tg_url = self.tg_url.to_string();
        let handle = NOTIFIER_HANDLE.lock().unwrap().as_ref().unwrap().clone();
        let http_client = self.http_client.clone();
        handle.spawn(async move {
            match http_client
                .post(&tg_url)
                .timeout(Duration::from_secs(5))
                .json(&data)
                .send()
                .await
            {
                Ok(resp) => {
                    info!("tg send msg resp => {:?}", resp);
                }
                Err(err) => {
                    error!("tg send msg error => {:?}", err);
                }
            }
        });

        Ok(())
    }