refactor: update Telegram file handling to use new getFileInfo function and include bot token in cache
This commit is contained in:
@@ -68,6 +68,7 @@ export const fileInfoCache = new Cache<{
|
||||
file_size: number;
|
||||
mime_type: string;
|
||||
file_path: string;
|
||||
bot_token: string;
|
||||
}>(3600);
|
||||
|
||||
// Cleanup expired cache entries every 5 minutes
|
||||
|
||||
Reference in New Issue
Block a user