Struct aws_sdk_lexmodelsv2::model::Message
source · #[non_exhaustive]pub struct Message { /* private fields */ }Expand description
The object that provides message text and it's type.
Implementations§
source§impl Message
impl Message
sourcepub fn plain_text_message(&self) -> Option<&PlainTextMessage>
pub fn plain_text_message(&self) -> Option<&PlainTextMessage>
A message in plain text format.
sourcepub fn custom_payload(&self) -> Option<&CustomPayload>
pub fn custom_payload(&self) -> Option<&CustomPayload>
A message in a custom format defined by the client application.
sourcepub fn ssml_message(&self) -> Option<&SsmlMessage>
pub fn ssml_message(&self) -> Option<&SsmlMessage>
A message in Speech Synthesis Markup Language (SSML).
sourcepub fn image_response_card(&self) -> Option<&ImageResponseCard>
pub fn image_response_card(&self) -> Option<&ImageResponseCard>
A message that defines a response card that the client application can show to the user.