Fix reply_to when sending albums

This commit is contained in:
Lonami Exo 2023-07-24 17:23:09 +02:00
parent 694c78c8e9
commit 211238fcd2
2 changed files with 2 additions and 2 deletions

View File

@ -496,7 +496,7 @@ class UploadMethods:
# Now we can construct the multi-media request # Now we can construct the multi-media request
request = functions.messages.SendMultiMediaRequest( request = functions.messages.SendMultiMediaRequest(
entity, reply_to=types.InputReplyToMessage(reply_to), multi_media=media, entity, reply_to=None if reply_to is None else types.InputReplyToMessage(reply_to), multi_media=media,
silent=silent, schedule_date=schedule, clear_draft=clear_draft, silent=silent, schedule_date=schedule, clear_draft=clear_draft,
background=background background=background
) )

View File

@ -1,3 +1,3 @@
# Versions should comply with PEP440. # Versions should comply with PEP440.
# This line is parsed in setup.py: # This line is parsed in setup.py:
__version__ = '1.29.1' __version__ = '1.29.2'