Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
thaume committed Apr 22, 2021
1 parent db376d3 commit d3aa687
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions rasa/core/channels/botframework.py
Expand Up @@ -215,8 +215,12 @@ async def health(request: Request) -> HTTPResponse:

@botframework_webhook.route("/webhook", methods=["POST"])
async def webhook(request: Request) -> HTTPResponse:
""" The content of the Activity object exchanged in this request is detailed in MS
docs here : https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0#activity-object
""" Webhook receiving requests from MS Botframework.
The request contains data about end-user messages or actions.
The content of the Activity object exchanged in this request
is detailed in MS:
https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0#activity-object
"""
postdata = request.json
Expand Down

0 comments on commit d3aa687

Please sign in to comment.