mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Fix return value of send_file(album) of the same media
This commit is contained in:
@@ -164,7 +164,7 @@ class MessageParseMethods:
|
||||
mapping = sched_to_message
|
||||
opposite = id_to_message # scheduled may be treated as normal, though
|
||||
|
||||
random_id = request if isinstance(request, int) else request.random_id
|
||||
random_id = request if isinstance(request, (int, list)) else request.random_id
|
||||
if not utils.is_list_like(random_id):
|
||||
msg = mapping.get(random_to_id.get(random_id))
|
||||
if not msg:
|
||||
|
Reference in New Issue
Block a user