Struct google_dialogflow2_beta1::IntentMessage [] [src]

pub struct IntentMessage {
    pub simple_responses: Option<IntentMessageSimpleResponses>,
    pub quick_replies: Option<IntentMessageQuickReplies>,
    pub link_out_suggestion: Option<IntentMessageLinkOutSuggestion>,
    pub text: Option<IntentMessageText>,
    pub image: Option<IntentMessageImage>,
    pub suggestions: Option<IntentMessageSuggestions>,
    pub platform: Option<String>,
    pub basic_card: Option<IntentMessageBasicCard>,
    pub carousel_select: Option<IntentMessageCarouselSelect>,
    pub list_select: Option<IntentMessageListSelect>,
    pub payload: Option<HashMap<String, String>>,
    pub card: Option<IntentMessageCard>,
}

Corresponds to the Response field in API.AI console.

This type is not used in any activity, and only used as part of another schema.

Fields

The voice and text-only responses for Actions on Google.

The quick replies response.

The link out suggestion chip for Actions on Google.

The text response.

The image response.

The suggestion chips for Actions on Google.

Optional. The platform that this message is intended for.

The basic card response for Actions on Google.

The carousel card response for Actions on Google.

The list card response for Actions on Google.

The response containing a custom payload.

The card response.

Trait Implementations

impl Default for IntentMessage
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for IntentMessage
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for IntentMessage
[src]

[src]

Formats the value using the given formatter.

impl Part for IntentMessage
[src]