Share via

Single bot with Multiple Activity Handler

Jenny Chen 5 Reputation points Microsoft Employee
2023-10-27T02:03:38.34+00:00

Hi,

I'm trying to create a chatbot with message extension capabilities, and, as a result, needs two separate activityhandler - one to react to conversations and one to handle search-based message extension capabilities. What's the recommended way to go about this?

We currently have one Bot with a long activityhandling file and are trying to re-factor and break the activities into two respective handler files. Is there any way for us to refer to those two files in one central bothandler since those two files talk to the same endpoint?

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

Microsoft Teams | Microsoft Teams for business | Other

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.