mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Update teloxide to 0.15
Some checks failed
Build docker image / Build-Docker-Image (push) Has been cancelled
Some checks failed
Build docker image / Build-Docker-Image (push) Has been cancelled
This commit is contained in:
749
Cargo.lock
generated
749
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
||||
|
||||
@@ -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!(
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user