Skip to content

Commit cb0256b

Browse files
authored
Update __init__.py
1 parent ff3cbaf commit cb0256b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

telebot/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,9 @@ def get_me(self):
351351
def get_file(self, file_id):
352352
return types.File.de_json(apihelper.get_file(self.token, file_id))
353353

354+
def get_file_url(self, file_id):
355+
return apihelper.get_file_url(self.token, file_id)
356+
354357
def download_file(self, file_path):
355358
return apihelper.download_file(self.token, file_path)
356359

0 commit comments

Comments
 (0)