Azure function doesn't notify my bot (Bot Framework)

前端 未结 1 644
误落风尘
误落风尘 2021-01-15 04:48

i\'m using an Azure Function (Timer Trigger Function) which is execute every X minutes. I\'ve made a bot using BotFramework, and I want to have an azure function triggered e

相关标签:
1条回答
  • 2021-01-15 05:39

    You need to change your bot output binding name from "message" to "$return" since you've coded your function to return the message as a function return value and not as an output parameter. That's what the warning is trying to tell you.

    Once you fix that, I also believe that the "secret" value should be an app setting name whose value is your bot secret. You shouldn't put the secret directly in your function.json file.

    0 讨论(0)
提交回复
热议问题