botframework

Microsoft bot builder deep linking

℡╲_俬逩灬. 提交于 2021-02-08 07:49:09
问题 Can we do deep linking for Skype or Slack with the Microsoft Bot Framework? Specifically, I need a link that would allow me to pass custom parameters to my bot at the time of invocation, as we can do for Telegram such as https://telegram.me/UniversalAgent1Bot?start=30|1 回答1: See https://www.skype.com/en/developer/create-addbot-button/ for details on how to create a button to add a bot to contacts on web. If you want to create a deep link for iOS or Android, you can use this URI: skype:28:bot

What is the botframework security model?

感情迁移 提交于 2021-02-07 10:19:47
问题 I am exploring the Microsoft Bot Builder SDK to create a chat bot that integrates with MS Teams. Most of the provided samples do not have any authentication mechanisms and the samples that reference OAuth seem to do so for allowing the bot to access a resource using the on-behalf-of flow. Is correct way to think of the security model is that the bot should be considered public and any non-public information accessed is done from the context of the calling user? 回答1: The Bot Framework has

Direct Line App Extension - How and where are messages cached?

浪尽此生 提交于 2021-02-04 21:35:22
问题 I have a few questions about the new Direct Line App Extension for App Services on Azure announced at Build 2020. The "normal" direct line services cached messages at their own regional servers. Now that this extension allows the App Service of a bot to act as the Direct Line endpoint, is the conversation with it's messages cached in the app service? And does this mean, one could for example edit the settings of the conversation caching like cache duration etc.? And I guess the pricing of

Issue with size limit (limit of 262144 bytes) from bot while displaying adaptive card with large choice list (in botframework)

China☆狼群 提交于 2021-02-02 09:34:13
问题 My team is working on a chatbot with Microsoft bot framework, as a requirement we need to show a dynamic choice list according to what the users select. For this we are hitting an API to fetch the custom response. Please find below an example of the response. { "items": [ { "val": { "Field1": "Hello World" }, "_links": { "self": [ { "href": "API_URL_FOR_THIS_OPTION" } ] } }, { "val": { "Field1": "Hi World" }, "_links": { "self": [ { "href": "API_URL_FOR_THIS_OPTION" } ] } }, ], "_links": {

BotFramework-WebChat - Adaptive Card

人走茶凉 提交于 2021-02-02 03:41:49
问题 Is there a way to add Onchange event to the adaptive card input field that is rendered in webchat (version V4). Example changing a quantity value (Adaptive card inputfield of type number) in the checkout screen should update the Total value (Adaptive card text field) To keep it simple....In the below image once i change the number in the input box it should update in the below text box. everything should happen on the webchat V4(React) client side Below are the options i tried, don't have any

AAD Authentication Directline & Teams, Disable Security Code

南笙酒味 提交于 2021-01-29 22:43:38
问题 I would like to have users authenticated in a v4 bot in both Teams and Directline (rendered on webpage) with as little user interaction as possible. My code is based on MS BOT Samples Github: BotAuthenticationMSGraph and has not changed at all besides configuration settings. Right now, the directline pops up an extra tab, if needed presents username/password signin, and always presents six digit code for the user to copy/paste into the chat window. This completes authentication. Right now, on

Bot built with MS Bot SDK 4 quites working for facebook channel after an hour or more of idle time

扶醉桌前 提交于 2021-01-29 21:25:02
问题 There are several questions here and on git for v3 of the bot sdk wherein the bot gets 'unauthorized' responses after about an hour on my facebook channel, webchat works fine. I have that problem in the v4 SDK, using .net core 2.1, AspNetCore 2.1.6 and using something trivial like the echobot c# example. It is not clear to me if the unauthorized is coming from microsofts bot framework, or from facebook itself. Below is my code and the trace... Note that the failure appears to come out of :

How to configure a custom endpoint for the Microsoft Bot

对着背影说爱祢 提交于 2021-01-29 13:01:05
问题 Is there a way to implement a custom endpoint for my bot in node.js?. I saw the same for C# but it seems to to be implemented in node.js. Here is the link to the C# implementation: Configure Custom Endpoint for Botframework Bot A part from this, in the portal there was an option to connect the bot to an azure function, but I don't see it now. Here is the post where is saw it, on the step 3: https://blogs.msdn.microsoft.com/waws/2018/04/22/azure-bot-function/ Here is the C# code to implement

Video playback in Adaptive card of MS teams

*爱你&永不变心* 提交于 2021-01-29 12:34:25
问题 I get a message "Media playback is currently not supported in Adaptive Cards in Teams" on the adaptive card when rendered in the channel MS teams. Although it seems its not officially supported ,i was wondering is there any workaround to play videos on adaptive card in MS Team Channel? Any help would be gladly appreciated. 回答1: Playing video inside an Adaptive Card is not supported. You could try opening a task module on click of a Adaptive card button and play a video inside TaskModule.Here

How to configure a custom endpoint for the Microsoft Bot

柔情痞子 提交于 2021-01-29 12:20:58
问题 Is there a way to implement a custom endpoint for my bot in node.js?. I saw the same for C# but it seems to to be implemented in node.js. Here is the link to the C# implementation: Configure Custom Endpoint for Botframework Bot A part from this, in the portal there was an option to connect the bot to an azure function, but I don't see it now. Here is the post where is saw it, on the step 3: https://blogs.msdn.microsoft.com/waws/2018/04/22/azure-bot-function/ Here is the C# code to implement