Officially remove bot_file_id support

This commit is contained in:
Lonami Exo
2021-09-18 13:04:13 +02:00
parent 3d36bb7b93
commit 9af8ec8cce
6 changed files with 20 additions and 188 deletions

View File

@@ -18,21 +18,6 @@ class File:
def __init__(self, media):
self.media = media
@property
def id(self):
"""
The bot-API style ``file_id`` representing this file.
.. note::
This file ID may not work under user accounts,
but should still be usable by bot accounts.
You can, however, still use it to identify
a file in for example a database.
"""
return utils.pack_bot_file_id(self.media)
@property
def name(self):
"""