botman / driver-hangouts

BotMan Hangouts Chat Driver
MIT License
10 stars 5 forks source link

Button support in widgets? #5

Open jamenlang opened 5 years ago

jamenlang commented 5 years ago

I see on botman.io that buttons are supported, but I can't get the ExampleConversation buttons to show up when replies for 'start conversation' come in.

jamenlang commented 5 years ago

I attempted to do a pull request to add in widget buttons, incoming messages with the type 'CARD_CLICKED' still need support.

tyghaykal commented 2 years ago

@jamenlang is it solved or not ? I cant show the button in hangouts driver

jamenlang commented 2 years ago

@tyghaykal unfortunately I haven't looked at this in years, I I doubt the developers have either. I ended up writing my own implementation of a bot with buttons for my own needs.

tyghaykal commented 2 years ago

@jamenlang i thought so, the developer abandoned this package. Even I want to send message with say method, it will not send anymore. If its possible, can you share to me your code? Its ok if you cant.

jamenlang commented 2 years ago

I have a google developer api project using https. for web serving / certificate i'm using apache and proxying to another port for python, using google's flask examples as the bot. It makes calls to a php script on another server to do the heavy lifting.

it's very kludgy, but it does work, too bad i had to jump through so many hoops when this project looks so clean.

if you're interested in stripped down examples of what i have; i added you to a private repo.

tyghaykal commented 2 years ago

I have a google developer api project using https. for web serving / certificate i'm using apache and proxying to another port for python, using google's flask examples as the bot. It makes calls to a php script on another server to do the heavy lifting.

it's very kludgy, but it does work, too bad i had to jump through so many hoops when this project looks so clean.

if you're interested in stripped down examples of what i have; i added you to a private repo.

Thank you so much, really appreciate your kindness. I will check the repo first. I hope this one can solve my problem. Again, thank you.