Example for use
use TeleApi::TeleApi; #[tokio::main] async fn main() -> Result<(), reqwest::Error> { let token = ""; // bot token here let tele_api = TeleApi::new(token); let chat_id = 123456; let method = "sendMessage"; let text = "Hi"; let params = [ ("chat_id", chat_id.to_string().as_str()), ("text", text), ]; tele_api.execute(method, ¶ms).await?; Ok(()) }