- Newest
- Most votes
- Most comments
Use EventBridge Scheduler to create a schedule whenever a message is sent. When the user replies, you need to delete that timer. When it fires, it can invoke a Lambda function that removes the conversation.
This can be implemented using the built-in timers and Idle participant functionality provided by Amazon Connect Chat.
Refer:
-
https://docs.aws.amazon.com/connect/latest/adminguide/setup-chat-timeouts.html OR
-
using ChatJS library chatSession.onParticipantIdle() => https://github.com/amazon-connect/amazon-connect-chatjs?tab=readme-ov-file#chatsessiononparticipantidle chatSession.onParticipantReturned() => https://github.com/amazon-connect/amazon-connect-chatjs?tab=readme-ov-file#chatsessiononparticipantreturned chatSession.onAutoDisconnection() => https://github.com/amazon-connect/amazon-connect-chatjs?tab=readme-ov-file#chatsessiononautodisconnection
Relevant content
- asked a month ago
- asked 4 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago