File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
components/include/migrations/botbuilder/sending-activities
pages/templates/migrations/botbuilder Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 104104 # highlight-error-start
105105- from botbuilder.core import ActivityHandler, TurnContext
106106- from botbuilder.schema import Activity, Attachment
107- # higlight -error-end
107+ # highlight -error-end
108108 # highlight-success-start
109109+ from microsoft.teams.api import MessageActivity
110110+ from microsoft.teams.apps import ActivityContext, App
167167 # highlight-success-start
168168+ from microsoft.teams.api import Attachment, MessageActivity, MessageActivityInput
169169+ from microsoft.teams.apps import ActivityContext, App
170- # highlight-success-start
170+ # highlight-success-end
171171
172172 # highlight-error-start
173173- class MyActivityHandler(ActivityHandler):
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ and registers the `BotBuilderPlugin` with your adapter and activity handler. It
6060In the ouptut below,
6161The first line comes from the BotBuilder ActivityHandler. The second line comes from the Teams SDK message activity handler.
6262This shows that both handlers can process the same message sequentially when using the BotBuilder Plugin.
63+ This strategy can now be used to incrementally migrate from BotBuilder to the Teams SDK.
6364
6465```
6566hi from botbuilder...
You can’t perform that action at this time.
0 commit comments