mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-08 09:30:40 +01:00
Fix
This commit is contained in:
@@ -81,7 +81,7 @@ pub async fn get_cached_file_copy(original: cached_file::Data, db: Database) ->
|
|||||||
let message_id = match bot
|
let message_id = match bot
|
||||||
.copy_message(
|
.copy_message(
|
||||||
config::CONFIG.temp_channel_username.to_string(),
|
config::CONFIG.temp_channel_username.to_string(),
|
||||||
ChatId(original.chat_id),
|
Recipient::Id(ChatId(original.chat_id)),
|
||||||
MessageId(original.message_id.try_into().unwrap()),
|
MessageId(original.message_id.try_into().unwrap()),
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user