mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update __init__.py
This commit is contained in:
parent
ff3cbaf45b
commit
cb0256b37d
@ -351,6 +351,9 @@ class TeleBot:
|
|||||||
def get_file(self, file_id):
|
def get_file(self, file_id):
|
||||||
return types.File.de_json(apihelper.get_file(self.token, file_id))
|
return types.File.de_json(apihelper.get_file(self.token, file_id))
|
||||||
|
|
||||||
|
def get_file_url(self, file_id):
|
||||||
|
return apihelper.get_file_url(self.token, file_id)
|
||||||
|
|
||||||
def download_file(self, file_path):
|
def download_file(self, file_path):
|
||||||
return apihelper.download_file(self.token, file_path)
|
return apihelper.download_file(self.token, file_path)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user