mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-04-04 01:04:16 +03:00
parent
890bf485c9
commit
37e29e8f13
|
@ -445,6 +445,7 @@ def get_input_media(
|
|||
if isinstance(media, types.MessageMediaPhoto):
|
||||
return types.InputMediaPhoto(
|
||||
id=get_input_photo(media.photo),
|
||||
spoiler=media.spoiler,
|
||||
ttl_seconds=ttl or media.ttl_seconds
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user