From b68c1f4f0390f94e917c0cf9a529919a63dcccc8 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sat, 11 Mar 2023 11:56:43 +0100 Subject: [PATCH] Add docs warning to file.id about it not being maintained --- telethon/tl/custom/file.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/telethon/tl/custom/file.py b/telethon/tl/custom/file.py index 210eb53d..aa714828 100644 --- a/telethon/tl/custom/file.py +++ b/telethon/tl/custom/file.py @@ -21,7 +21,12 @@ class File: @property def id(self): """ - The bot-API style ``file_id`` representing this file. + The old bot-API style ``file_id`` representing this file. + + .. warning:: + + This feature has not been maintained for a long time and + may not work. It will be removed in future versions. .. note::