treethought / flask-assistant

Framework for Building Virtual Assistants with Dialogflow and python
Apache License 2.0
379 stars 101 forks source link

add a link to a card? #100

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi, is it possible to add a link to a card? If so, what's the parameter I should pass into resp.card() in order to input a url address?

Thanks!

1337Phantom commented 6 years ago

Hello, You can add links by using the .link_out("Text","link") function resp.link_out("Text","https://example.com/") This will add a button reading Open Text to your card. For more information on how to use this read the documentation or have a look at the examples.

ghost commented 6 years ago

thanks for the reply @1337Phantom!