From 2b6b79bc58a710a5e2249956710d0e2d9438161e Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Mon, 17 Jun 2024 00:56:52 +0300 Subject: [PATCH] Update docs/api/upload_file.rst Co-authored-by: Yana Malenko <107151775+akchonya@users.noreply.github.com> --- docs/api/upload_file.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/api/upload_file.rst b/docs/api/upload_file.rst index 4d9c7658..24fa726f 100644 --- a/docs/api/upload_file.rst +++ b/docs/api/upload_file.rst @@ -23,8 +23,7 @@ Here are the three different available builtin types of input file: **Be respectful to Telegram** Instances of `InputFile` are reusable. - That means you can create multiple instances of InputFile for the same file and send them each but Telegram - does not recommend it. Instead you can send one instance of InputFile for the same picture and send it multiple times using its `file_id`. + That means you can create an instance of InputFile and send it multiple times. However, Telegram does not recommend doing this. Instead, once you upload a file, save its `file_id` and reuse that later. Upload from file system =======================