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

Author

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

Represents the author of a question or answer

interface Author {
displayName?: string;
profilePhotoUri?: string;
type?:
| "AUTHOR_TYPE_UNSPECIFIED"
| "REGULAR_USER"
| "LOCAL_GUIDE"
| "MERCHANT";
}

§Properties

§
displayName?: string
[src]

The display name of the user

§
profilePhotoUri?: string
[src]

The profile photo URI of the user.

§
type?: "AUTHOR_TYPE_UNSPECIFIED" | "REGULAR_USER" | "LOCAL_GUIDE" | "MERCHANT"
[src]

The type of user the author is.