class SessionMoreConfrenceDetails(Action):
def name(self):
return "action_session_more_confrence_details"
def run(self,dispatcher,tracker,domain):
gt = {
"attachment": {
"type": "template",
"payload": {
"template_type": "generic",
"elements": [
{
"title": "Build a chatbot with Dialogflow",
"subtitle": "How to build a chatbot with Dialogflow within 15 miniutes.",
"buttons": [
{
"type": "postback",
"payload": "/session_one_speaker_details",
"title": "View Speakers"
},
]
},
]
}
}
}
dispatcher.utter_custom_json(gt)
return [ ]