I am sending a hero card to a user which show two buttons. On clicking the button, can the card be deleted or hidden from the chat?
I am using the web chat channel.
Related
I have an API which is hosted on Azure WebApp service, and it's sending adaptive card v1.0 email to user's outlook client, then user click action.Http button to response the card. Now I want to use new v1.4 card, but in v1.4 the action.Http button does not show up in Outlook, the only working button is action.Execute. However, there is no url attribute in action.Execute to let me specify where the data should be sent to, and I don't want to buy additional bot service. Is there any way for this? Thank you.
I did a bot that does a quiz. So far if I'm able to try talking to it through Dialogflow interface:
I need to click on "actions on Google".
But I am not able to do retrieve the same answers in Slack.
I did the following:
In the Slack app, go to the 'Bot users' section and click the 'Add a Bot User' button.
In the Slack app ‘Basic Information’ section, copy the 'Client ID', 'Client Secret' and 'Verification Token' and paste their values into the respective fields below.
Start the bot.
Copy the 'OAuth URL' value below and paste it into the 'Redirect URL(s)' field from the ‘OAuth & Permissions’ section of your Slack app settings. Save URLs.
Copy Events Request URL from the field below and paste it to Request URL in the ‘Events Subscription’ section of your Slack app.
Enable events in the ‘Event Subscriptions’ section.
Select necessary events in "Subscribe to Bot Events" section for example message.im, message.group, message.channel, im_created. These events will define which message types (direct, in channel, etc.) your bot will react to. Save changes. I selected message.im, message.groups, message.channels, im_created
In the Slack app settings, go to 'Manage Distribution' and add the bot to your Slack team using the 'Add to Slack' button.
In Slack I added on the left bar Dialogflow bot.
Are actions in Google used for a dialogflow chabot available when talking to it in Slack?
No, actions on google features are not available in Slack. This is because actions on google are features are used to create a chatbot for Google Assistant. Each time you select Actions on Google in the chat window of Dialogflow, you preview what your conversation looks like for Google Assistant conversations.
Since you have already created a Slack bot and integrated it with your Slack channel, so you should be able to send any responses that you create in the Default or Slack tab of the responses to your bot. Just click on the + sign in the response tab and add Slack as a channel of your bot, then click on Add Response to start creating responses just for Slack using Dialogflows UI.
If you want to use other message types in Slack using Dialogflow, have a look at the docs. It lists how you can create Rich responses for Slack bots.
I want to send push notifications to my web application users on the occurrence of certain events by updating an icon with a red dot. This is similar to Facebook updating the "notification bell" icon with a dot, on receiving a message or getting a new friend request
LINK TO EXAMPLE IMAGE
I have tried to send notifications to the web app, but it requires the user to "allow notifications" before sending it.
Note that, Facebook/Twitter or any other social media sites can notify users even if the user explicitly blocks all the notifications for the website.
Socket.io is quite handy for this. You can just listen/emit some events at both client and server and act accordingly (in your case, updating the "notification bell" icon)
I want to send a likn to a user through my bot to SKype channel. Is there a way to disable the Skype Link preview in the bot side?
session.send("Click here to see Portugal in maps.")
I have created sample Skype bot and deployed on the portal using the following card in which I attached few images and buttons. when I tested the application in Emulator these card is displaying with button and image.
Hero Card
Thumbnail Card
Receipt Card
Sign-In Card
After deployed the application on the portal, the image and button are not appearing.
I had the same problem, so I updated my Skype version and that fixed the problem for me.