InputWebFileLocation

class pyrogram.raw.base.InputWebFileLocation

Location of remote file

Constructors:

This base type has 3 constructors available.

InputWebFileAudioAlbumThumbLocation

Used to download an album cover for any music file using upload.getWebFile, see the webfile docs for more info ».

InputWebFileGeoPointLocation

Used to download a server-generated image with the map preview from a geoPoint, see the webfile docs for more info ».

InputWebFileLocation

Location of a remote HTTP(s) file

TL Schema

inputWebFileLocation#c239d686
url:string
access_hash:long

= InputWebFileLocation

Parameter Tree

InputWebFileLocation
├── urlstring
└── access_hashlong

Example

InputWebFileLocation(
    url="https://google.com",
    access_hash=0,
)