pub async fn get_map_thumbnail_file(
location: Location,
zoom: i32,
width: i32,
height: i32,
scale: i32,
chat_id: i64,
client_id: i32,
) -> Result<File, Error>Expand description
Returns information about a file with a map thumbnail in PNG format. Only map thumbnail files with size less than 1MB can be downloaded
ยงArguments
location- Location of the map centerzoom- Map zoom level; 13-20width- Map width in pixels before applying scale; 16-1024height- Map height in pixels before applying scale; 16-1024scale- Map scale; 1-3chat_id- Identifier of a chat in which the thumbnail will be shown. Use 0 if unknownclient_id- The client id to send the request to