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

BackgroundColoredText

import type { BackgroundColoredText } from "https://googleapis.deno.dev/v1/cloudsearch:v1.ts";
interface BackgroundColoredText {
backgroundColor?:
| "UNKNOWN_COLOR"
| "WHITE"
| "YELLOW"
| "ORANGE"
| "GREEN"
| "BLUE"
| "GREY";
text?: string;
}

§Properties

§
backgroundColor?: "UNKNOWN_COLOR" | "WHITE" | "YELLOW" | "ORANGE" | "GREEN" | "BLUE" | "GREY"
[src]

[Optional] Color of the background. The text color can change depending on the selected background color, and the client does not have control over this. If missing, the background will be WHITE.

§
text?: string
[src]

[Required] The text to display.