botframework - how to get back the "payload" of the button " Get Started " in c# -


i work microsoft bot framework in messenger , know how "payload" of button " started ", function should create in c# ?

you don't have - payload returned regular message, can use this:

if (activity.channelid == "facebook" && activity.text == "get_started_payload") {    // etc 

note documentation lists restrictions on feature:

  • the welcome screen shown first time user interacts page on messenger.
  • only admins, developers, , testers of app can see when app in development mode.
  • your app must subscribed postback webook events.

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -