botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

send external message to my bot

Open andrecordeiro opened this issue 10 years ago • 2 comments

How do I get a php script, access my endpoint that is in azure, and send a message to my bot ?

andrecordeiro avatar Sep 13 '16 17:09 andrecordeiro

Since the bot is a web service, you can always open up another web endpoint to reach your bot's code.

If you want your custom message to come in on the same activity endpoint as used by the Bot Framework, it's more involved since you can't impersonate the authentication added by the Connector. In that case, DirectLine might be a method to contact your bot on that endpoint.

willportnoy avatar Sep 13 '16 20:09 willportnoy

I'm going to close this issue for now, but feel free to open a new issue for further discussions.

willportnoy avatar Sep 24 '16 16:09 willportnoy