@@ -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"
@@ -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