Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Unanswered

endOfConversation feature is not working in directline bot api of Dynamics

Posted on by
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?
  • Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    endOfConversation feature is not working in directline bot api of Dynamics
    Hi Partner,
    Based on the following documentation said:
    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

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.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans