Skip to content

miniproto.file_id.DecodedFileId.to_media

to_media() -> Media

Build a Media value retaining the encoded file location.

Returns:

  • Media – A media value with the file reference, access hash, and matching input location.