Update teloxide to 0.15
Some checks failed
Build docker image / Build-Docker-Image (push) Has been cancelled

This commit is contained in:
2025-04-27 15:19:07 +02:00
parent a96ff53ae0
commit 8166168538
4 changed files with 243 additions and 512 deletions

749
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -28,7 +28,7 @@ reqwest = { version = "0.12.15", features = ["json", "stream"] }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
teloxide = { version = "0.13.0", features = ["macros", "webhooks-axum", "cache-me", "throttle"] }
teloxide = { version = "0.15.0", features = ["macros", "webhooks-axum", "cache-me", "throttle"] }
url = "2.5.4"

View File

@@ -324,7 +324,7 @@ async fn send_error_message(bot: CacheMe<Throttle<Bot>>, chat_id: ChatId, messag
async fn send_archive_link(
bot: CacheMe<Throttle<Bot>>,
message: Message,
message: Box<Message>,
task: Task,
) -> BotHandlerInternal {
let link = format!(

View File

@@ -14,7 +14,7 @@ enum SupportCommand {
}
pub async fn support_command_handler(
message: Message,
message: Box<Message>,
bot: CacheMe<Throttle<Bot>>,
) -> BotHandlerInternal {
let username = match message.clone().from {