Similar to :meth:get_input_peer, but for media.
get_input_peer
If the media is :tl:InputFile and is_photo is known to be True, it will be treated as an :tl:InputMediaUploadedPhoto. Else, the rest of parameters will indicate how to treat it.
InputFile
is_photo
True
InputMediaUploadedPhoto
whether it's a photo or not
Similar to :meth:
get_input_peer, but for media.If the media is :tl:
InputFileandis_photois known to beTrue, it will be treated as an :tl:InputMediaUploadedPhoto. Else, the rest of parameters will indicate how to treat it.