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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -