I want to end conversation using direct line api (https://directline.botframework.com) but when I try sending message with type = /endOfConversation/ according to official documentation to activities, it's not working. I tried sending activity as normal to this endpoint just as directed in this documentation https://learn.microsoft.com/en-us/previous-versions/azure/bot-service/rest-api/bot-framework-rest-direct-line-3-0-end-conversation?view=azure-bot-service-3.0#send-an-endofconversation-activity But It only sends this activity as normal activity, of course the type will be endOfConversation but it has no impact, and I wanted the conversation to be ended from customer side, so it shows agent that customer ended conversation and they can clear this conversation. What should I do?
The endOfConversation event is sent by very few channels, and few channels accept it.
Some channels, including Direct Line, don't implement this functionality and instead drop or forward the activity on; each channel determines how to react to an endOfConversation activity
I hope you can verify my answer if it helps you! If you have any questions, please feel free to contact me.
Regards,
Leah
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.