Struct aws_sdk_lexruntimev2::model::Message
source · #[non_exhaustive]pub struct Message { /* private fields */ }Expand description
Container for text that is returned to the customer..
Implementations§
source§impl Message
impl Message
sourcepub fn content_type(&self) -> Option<&MessageContentType>
pub fn content_type(&self) -> Option<&MessageContentType>
Indicates the type of response.
sourcepub fn image_response_card(&self) -> Option<&ImageResponseCard>
pub fn image_response_card(&self) -> Option<&ImageResponseCard>
A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform.
When you use a response card, the response from the user is constrained to the text associated with a button on the card.