From cb0256b37d5a5e99e9a221a1f620fce49c49b573 Mon Sep 17 00:00:00 2001 From: sviat9440 Date: Sun, 25 Mar 2018 13:22:35 +0300 Subject: [PATCH] Update __init__.py --- telebot/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/telebot/__init__.py b/telebot/__init__.py index d6c16e1..27381a4 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -351,6 +351,9 @@ class TeleBot: def get_file(self, 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): return apihelper.download_file(self.token, file_path)