Queer European MD passionate about IT
Parcourir la source

use_stored set to False

Davte il y a 6 ans
Parent
commit
73b44a05d2
2 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 1 1
      davtelepot/__init__.py
  2. 2 1
      davtelepot/custombot.py

+ 1 - 1
davtelepot/__init__.py

@@ -7,7 +7,7 @@ __author__ = "Davide Testa"
 __email__ = "davte@libero.it"
 __credits__ = "Marco Origlia"
 __license__ = "GNU General Public License v3.0"
-__version__ = "1.4.2"
+__version__ = "1.4.3"
 __maintainer__ = "Davide Testa"
 __contact__ = "t.me/davte"
 

+ 2 - 1
davtelepot/custombot.py

@@ -2032,7 +2032,8 @@ class Bot(telepot.aio.Bot, Gettable):
                                 chat_id=selected_user['telegram_id'],
                                 photo=photo,
                                 caption=caption,
-                                parse_mode='HTML'
+                                parse_mode='HTML',
+                                use_stored=False
                             )
                         except Exception as e:
                             logging.error(e)