Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ParticipantTimerConfiguration = ParticipantTimerConfiguration' {}
- newParticipantTimerConfiguration :: TimerEligibleParticipantRoles -> ParticipantTimerType -> ParticipantTimerValue -> ParticipantTimerConfiguration
- participantTimerConfiguration_participantRole :: Lens' ParticipantTimerConfiguration TimerEligibleParticipantRoles
- participantTimerConfiguration_timerType :: Lens' ParticipantTimerConfiguration ParticipantTimerType
- participantTimerConfiguration_timerValue :: Lens' ParticipantTimerConfiguration ParticipantTimerValue
Documentation
data ParticipantTimerConfiguration Source #
Configuration information for the timer. After the timer configuration is set, it persists for the duration of the chat. It persists across new contacts in the chain, for example, transfer contacts.
For more information about how chat timeouts work, see Set up chat timeouts for human participants.
See: newParticipantTimerConfiguration
smart constructor.
ParticipantTimerConfiguration' | |
|
Instances
newParticipantTimerConfiguration Source #
:: TimerEligibleParticipantRoles | |
-> ParticipantTimerType | |
-> ParticipantTimerValue | |
-> ParticipantTimerConfiguration |
Create a value of ParticipantTimerConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:participantRole:ParticipantTimerConfiguration'
, participantTimerConfiguration_participantRole
- The role of the participant in the chat conversation.
$sel:timerType:ParticipantTimerConfiguration'
, participantTimerConfiguration_timerType
- The type of timer. IDLE
indicates the timer applies for considering a
human chat participant as idle. DISCONNECT_NONCUSTOMER
indicates the
timer applies to automatically disconnecting a chat participant due to
idleness.
$sel:timerValue:ParticipantTimerConfiguration'
, participantTimerConfiguration_timerValue
- The value of the timer. Either the timer action (Unset to delete the
timer), or the duration of the timer in minutes. Only one value can be
set.
participantTimerConfiguration_participantRole :: Lens' ParticipantTimerConfiguration TimerEligibleParticipantRoles Source #
The role of the participant in the chat conversation.
participantTimerConfiguration_timerType :: Lens' ParticipantTimerConfiguration ParticipantTimerType Source #
The type of timer. IDLE
indicates the timer applies for considering a
human chat participant as idle. DISCONNECT_NONCUSTOMER
indicates the
timer applies to automatically disconnecting a chat participant due to
idleness.
participantTimerConfiguration_timerValue :: Lens' ParticipantTimerConfiguration ParticipantTimerValue Source #
The value of the timer. Either the timer action (Unset to delete the timer), or the duration of the timer in minutes. Only one value can be set.