mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-19 19:46:41 +00:00
Merge branch 'LonamiWebs:v1' into main
This commit is contained in:
commit
60180d8da4
@ -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