dialogflow-cx-messenger-ts
    Preparing search index...

    Class Option

    Represents an option.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Creates a new instance of the class.

      Parameters

      • Optionalmode: string

        The mode.

      • Optionaltext: string

        The text.

      • Optionalimage: Image

        The image.

      • Optionalanchor: Anchor

        The Anchor.

      Returns Option

    Properties

    anchor?: Anchor
    image?: Image
    mode?: string
    text?: string

    Methods

    • Converts this Option to JSON.

      Returns { [k: string]: unknown }

      JSON object