Question 251 · 328 in bank
You create a bot by using the Microsoft Bot Framework SDK. You need to configure the bot to respond to events by using custom text responses. What should you use?
Show answer
Answer: B
Explanation
B is the correct answer as explained by ChatGPT : B. An activity handler is the correct choice for configuring the bot to respond to events by using custom text responses. An activity handler is a class in the Bot Framework SDK that processes incoming activities (e.g., messages, events, etc.) from the user and generates outgoing activities (e.g., replies). By overriding the OnMessageActivityAsync method of the activity handler, you can provide custom logic for responding to user messages.
Source: Adapted from community discussion — marti_tremblay000