diff --git a/davtelepot/__init__.py b/davtelepot/__init__.py index f80de53..01a8c5e 100644 --- a/davtelepot/__init__.py +++ b/davtelepot/__init__.py @@ -14,7 +14,7 @@ __author__ = "Davide Testa" __email__ = "davide@davte.it" __credits__ = ["Marco Origlia", "Nick Lee @Nickoala"] __license__ = "GNU General Public License v3.0" -__version__ = "2.4.12" +__version__ = "2.4.13" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/davtelepot/bot.py b/davtelepot/bot.py index c5d9ebd..7c5765b 100644 --- a/davtelepot/bot.py +++ b/davtelepot/bot.py @@ -1238,7 +1238,7 @@ class Bot(TelegramBot, ObjectWithDatabase, MultiLanguageObject): if caption is not None: media['caption'] = caption if parse_mode is not None: - media['parse_mode'] = + media['parse_mode'] = parse_mode if photo is not None: media['type'] = 'photo' media['media'] = photo