Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::Connect::Types::PersistentChat

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#rehydration_typeString

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 the initialContactId of the past ended chat session in the sourceContactId 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 the sourceContactId field.

The actual contactId used for rehydration is provided in the response of this API.

Returns:

  • (String)

17277
17278
17279
17280
17281
17282
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 17277

class PersistentChat < Struct.new(
  :rehydration_type,
  :source_contact_id)
  SENSITIVE = []
  include Aws::Structure
end

#source_contact_idString

The contactId from which a persistent chat session must be started.

Returns:

  • (String)

17277
17278
17279
17280
17281
17282
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 17277

class PersistentChat < Struct.new(
  :rehydration_type,
  :source_contact_id)
  SENSITIVE = []
  include Aws::Structure
end