Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Photo

import type { Photo } from "https://googleapis.deno.dev/v1/people:v1.ts";

A person's photo. A picture shown next to the person's name to help others recognize the person.

interface Photo {
default?: boolean;
metadata?: FieldMetadata;
url?: string;
}

§Properties

§
default?: boolean
[src]

True if the photo is a default photo; false if the photo is a user-provided photo.

§

Metadata about the photo.

§
url?: string
[src]

The URL of the photo. You can change the desired size by appending a query parameter sz={size} at the end of the url, where {size} is the size in pixels. Example: https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/00gzXvDBYqw/s100/photo.jpg?sz=50