mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 01:16:35 +03:00
Fix reply_to when sending albums
This commit is contained in:
parent
694c78c8e9
commit
211238fcd2
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user