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
simple_responses: Option<IntentMessageSimpleResponses>
The voice and text-only responses for Actions on Google.
quick_replies: Option<IntentMessageQuickReplies>
The quick replies response.
link_out_suggestion: Option<IntentMessageLinkOutSuggestion>
The link out suggestion chip for Actions on Google.
text: Option<IntentMessageText>
The text response.
image: Option<IntentMessageImage>
The image response.
suggestions: Option<IntentMessageSuggestions>
The suggestion chips for Actions on Google.
platform: Option<String>
Optional. The platform that this message is intended for.
basic_card: Option<IntentMessageBasicCard>
The basic card response for Actions on Google.
carousel_select: Option<IntentMessageCarouselSelect>
The carousel card response for Actions on Google.
list_select: Option<IntentMessageListSelect>
The list card response for Actions on Google.
payload: Option<HashMap<String, String>>
The response containing a custom payload.
card: Option<IntentMessageCard>
The card response.
Trait Implementations
impl Default for IntentMessage
[src]
fn default() -> IntentMessage
[src]
Returns the "default value" for a type. Read more
impl Clone for IntentMessage
[src]
fn clone(&self) -> IntentMessage
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more