Struct aws_sdk_connect::model::PersistentChat
source · #[non_exhaustive]pub struct PersistentChat { /* private fields */ }
Expand description
Enable persistent chats. For more information about enabling persistent chat, and for example use cases and how to configure for them, see Enable persistent chat.
Implementations§
source§impl PersistentChat
impl PersistentChat
sourcepub fn rehydration_type(&self) -> Option<&RehydrationType>
pub fn rehydration_type(&self) -> Option<&RehydrationType>
The contactId that is used for rehydration depends on the rehydration type. RehydrationType is required for persistent chat.
-
ENTIRE_PAST_SESSION
: Rehydrates a chat from the most recently terminated past chat contact of the specified past ended chat session. To use this type, provide theinitialContactId
of the past ended chat session in thesourceContactId
field. In this type, Amazon Connect determines the most recent chat contact on the specified chat session that has ended, and uses it to start a persistent chat. -
FROM_SEGMENT
: Rehydrates a chat from the past chat contact that is specified in thesourceContactId
field.
The actual contactId used for rehydration is provided in the response of this API.
sourcepub fn source_contact_id(&self) -> Option<&str>
pub fn source_contact_id(&self) -> Option<&str>
The contactId from which a persistent chat session must be started.
source§impl PersistentChat
impl PersistentChat
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PersistentChat
.
Trait Implementations§
source§impl Clone for PersistentChat
impl Clone for PersistentChat
source§fn clone(&self) -> PersistentChat
fn clone(&self) -> PersistentChat
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PersistentChat
impl Debug for PersistentChat
source§impl PartialEq<PersistentChat> for PersistentChat
impl PartialEq<PersistentChat> for PersistentChat
source§fn eq(&self, other: &PersistentChat) -> bool
fn eq(&self, other: &PersistentChat) -> bool
self
and other
values to be equal, and is used
by ==
.