Struct aws_sdk_connect::operation::send_chat_integration_event::SendChatIntegrationEventInput
source · #[non_exhaustive]pub struct SendChatIntegrationEventInput {
pub source_id: Option<String>,
pub destination_id: Option<String>,
pub subtype: Option<String>,
pub event: Option<ChatEvent>,
pub new_session_details: Option<NewSessionDetails>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.source_id: Option<String>
External identifier of chat customer participant, used in part to uniquely identify a chat. For SMS, this is the E164 phone number of the chat customer participant.
destination_id: Option<String>
Chat system identifier, used in part to uniquely identify chat. This is associated with the Amazon Connect instance and flow to be used to start chats. For SMS, this is the phone number destination of inbound SMS messages represented by an Amazon Pinpoint phone number ARN.
subtype: Option<String>
Classification of a channel. This is used in part to uniquely identify chat.
Valid value: ["connect:sms"]
event: Option<ChatEvent>
Chat integration event payload
new_session_details: Option<NewSessionDetails>
Contact properties to apply when starting a new chat. If the integration event is handled with an existing chat, this is ignored.
Implementations§
source§impl SendChatIntegrationEventInput
impl SendChatIntegrationEventInput
sourcepub fn source_id(&self) -> Option<&str>
pub fn source_id(&self) -> Option<&str>
External identifier of chat customer participant, used in part to uniquely identify a chat. For SMS, this is the E164 phone number of the chat customer participant.
sourcepub fn destination_id(&self) -> Option<&str>
pub fn destination_id(&self) -> Option<&str>
Chat system identifier, used in part to uniquely identify chat. This is associated with the Amazon Connect instance and flow to be used to start chats. For SMS, this is the phone number destination of inbound SMS messages represented by an Amazon Pinpoint phone number ARN.
sourcepub fn subtype(&self) -> Option<&str>
pub fn subtype(&self) -> Option<&str>
Classification of a channel. This is used in part to uniquely identify chat.
Valid value: ["connect:sms"]
sourcepub fn new_session_details(&self) -> Option<&NewSessionDetails>
pub fn new_session_details(&self) -> Option<&NewSessionDetails>
Contact properties to apply when starting a new chat. If the integration event is handled with an existing chat, this is ignored.
source§impl SendChatIntegrationEventInput
impl SendChatIntegrationEventInput
sourcepub fn builder() -> SendChatIntegrationEventInputBuilder
pub fn builder() -> SendChatIntegrationEventInputBuilder
Creates a new builder-style object to manufacture SendChatIntegrationEventInput
.
Trait Implementations§
source§impl Clone for SendChatIntegrationEventInput
impl Clone for SendChatIntegrationEventInput
source§fn clone(&self) -> SendChatIntegrationEventInput
fn clone(&self) -> SendChatIntegrationEventInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for SendChatIntegrationEventInput
impl PartialEq for SendChatIntegrationEventInput
source§fn eq(&self, other: &SendChatIntegrationEventInput) -> bool
fn eq(&self, other: &SendChatIntegrationEventInput) -> bool
self
and other
values to be equal, and is used
by ==
.