This commit is contained in:
2024-01-08 03:31:07 +01:00
parent 204d812120
commit 30c8bf7151

View File

@@ -49,7 +49,7 @@ pub fn get_listener() -> (
pub async fn set_webhook(bot_data: &BotData) -> bool { pub async fn set_webhook(bot_data: &BotData) -> bool {
log::info!("Set webhook Bot(id={})!", bot_data.id); log::info!("Set webhook Bot(id={})!", bot_data.id);
let bot = Bot::new(bot_data.token.clone()); let bot = Bot::new(bot_data.token.clone()).set_api_url(config::CONFIG.telegram_bot_api.clone());
let token = &bot_data.token; let token = &bot_data.token;