@microsoft/teamsfx 3.0.0-alpha.c1ca4fa41.0 → 3.0.0-alpha.c1f95c2d5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3668,15 +3668,17 @@ class ConversationBot {
3668
3668
  * @param logic - The additional function to handle bot context.
3669
3669
  *
3670
3670
  * @example
3671
- * For example, to use with Restify:
3671
+ * For example, to use with Express:
3672
3672
  * ``` typescript
3673
3673
  * // The default/empty behavior
3674
- * server.use(restify.plugins.bodyParser());
3675
- * server.post("api/messages", conversationBot.requestHandler);
3674
+ * const expressApp = express();
3675
+ * expressApp.use(express.json());
3676
+ * expressApp.post("/api/notification", conversationBot.requestHandler);
3676
3677
  *
3677
3678
  * // Or, add your own logic
3678
- * server.use(restify.plugins.bodyParser());
3679
- * server.post("api/messages", async (req, res) => {
3679
+ * const expressApp = express();
3680
+ * expressApp.use(express.json());
3681
+ * expressApp.post("/api/notification", async (req, res) => {
3680
3682
  * await conversationBot.requestHandler(req, res, async (context) => {
3681
3683
  * // your-own-context-logic
3682
3684
  * });