diff --git a/davtelepot/__init__.py b/davtelepot/__init__.py index ab1abfe..ce27688 100644 --- a/davtelepot/__init__.py +++ b/davtelepot/__init__.py @@ -11,7 +11,7 @@ __author__ = "Davide Testa" __email__ = "davide@davte.it" __credits__ = ["Marco Origlia", "Nick Lee @Nickoala"] __license__ = "GNU General Public License v3.0" -__version__ = "2.7.4" +__version__ = "2.7.5" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/davtelepot/bot.py b/davtelepot/bot.py index 3fe9457..8132444 100644 --- a/davtelepot/bot.py +++ b/davtelepot/bot.py @@ -1525,7 +1525,7 @@ class Bot(TelegramBot, ObjectWithDatabase, MultiLanguageObject): **message_identifier ) - async def send_photo(self, chat_id: Union[int, str], photo, + async def send_photo(self, photo, chat_id: Union[int, str] = None, caption: str = None, parse_mode: str = None, caption_entities: List[dict] = None,