Queer European MD passionate about IT
Jelajahi Sumber

use_stored set to False

Davte 6 tahun lalu
induk
melakukan
73b44a05d2
2 mengubah file dengan 3 tambahan dan 2 penghapusan
  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)