Represents a single element of rich content that can be sent in a response.

interface IRichContentElement {
    accessibilityText?: string;
    anchor?: Anchor;
    citations?: Citation[];
    event?: Event;
    html?: string;
    icon?: Icon;
    image?: Image;
    mode?: string;
    options?: Option[];
    rawUrl?: string;
    subtitle?: string;
    text?: Text;
    title?: string;
    type?: string;
}

Implemented by

Properties

accessibilityText?: string

The accessibility text of the rich content element.

anchor?: Anchor

The anchor of the rich content element.

citations?: Citation[]

The citations of the rich content element.

event?: Event

The event of the rich content element.

html?: string

The HTML of the rich content element.

icon?: Icon

The icon of the rich content element.

image?: Image

The image of the rich content element.

mode?: string

The mode of the rich content element.

options?: Option[]

The options of the rich content element.

rawUrl?: string

The raw URL of the rich content element.

subtitle?: string

The subtitle of the rich content element.

text?: Text

The text of the rich content element.

title?: string

The title of the rich content element.

type?: string

The type of the rich content element.