bots

Is it possible to set an adaptive card with date input in a waterfall dialog?(Using Bot Framework on Web and Teams)

白昼怎懂夜的黑 提交于 2020-01-25 08:57:10
问题 Is it possible to set an adaptive card with date input in a waterfall dialog?(Using Bot Framework on Web and Teams). What I need is user to select a date using adaptive cards Input.Date feature(Which is working everywhere except in Waterfall Dialogues) ie I need this adaptive card(which is already created as json in a local path) and return as context.PromptAsync() to next waterfall step. Thanks, Gokul. 回答1: it's possible. you can design date-input card schema on https://adaptivecards.io

Bot is not responding to @Mention when sending message using Graph API

旧巷老猫 提交于 2020-01-25 08:06:45
问题 I have created and deployed a bot in Microsoft Teams. Bot Works properly and responds when user talks to the bot using @Mention (e.g. @mybot) in a channel. I just tried to send message to the bot using graph API call: https://graph.microsoft.com/beta/teams/{group-id-for-teams}/channels/{channel-id}/messages Method : POST Content-type : application/json Body : "body": { "contentType": "html", "content": "Hello World <at id=\"0\">standupbot</at>" }, "mentions": [ { "id": 0, "mentionText":

Skype bot card images not showing up

倾然丶 夕夏残阳落幕 提交于 2020-01-24 19:40:12
问题 I am sending this post request and all cards like thumbnail, carousel, hero showing up, but the card image is not showing. I tried many different things but nothing worked yet. I am creating a bot in python, everything is working fine accept this issue. These are some links I looked for finding issue. But it seems I am doing everthing correctly. Any help? https://docs.botframework.com/en-us/skype/chat/#navtitle { 'text': 'testinglookssuccessful', 'type': 'message/card.carousel', 'attachments'

OAuth2 Signin from a Bot, based on Enterprise Bot template(v4 SDK), does not work with MS Teams desktop app

[亡魂溺海] 提交于 2020-01-16 09:10:53
问题 I have a bot which is based on enterprise bot template(Bot builder framework SDK v4.0). I have called AuthenticationDialog (OAuth2 sign-in with AAD v2) as per other thread in the stack overflow, i have implemented to handle Invoke Activity with "signin/verifyState" in my IBot implementation , it works fine on Microsoft Teams Web app, however, MS Teams desktop app puts up the dialog for selecting sign-in user, immediately, it closes the dialog and sends the Invoke activity with signin

How can I identify a user logged into DiallogFlow via webhook request?

雨燕双飞 提交于 2020-01-16 08:35:11
问题 I am using Dialogflow and would like to know if through the questions of a user to a bot it is possible to identify which user is asking this question. Attached is a section of the code for reading the data already received. I tried using the google documentation ('' https://developers.google.com/assistant/identity/google-sign-in#java "), but was unsuccessful. WebhookRequest request; using (var reader = new StreamReader(Request.Body)) { request = jsonParser.Parse<WebhookRequest>(reader); }

Bot works in Bot Framework Emulator on local computer, but not after it's deployed to Microsoft Azure: “HTTP status code NotFound” (2nd Thread)

北城余情 提交于 2020-01-16 07:25:09
问题 This is my second thread about this issue and I tried every suggestion provided in the last thread about this. The URL to the last thread is here: Bot works in Bot Framework Emulator on local computer, but not after it's deployed to Microsoft Azure - HTTP status code NotFound. I followed the exact directions at https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-deploy-az-cli?view=azure-bot-service-4.0&tabs=newrg. After following these instructions involving Azure CLI, I had three

“Account” object has no atribute get Huobi_python API

爱⌒轻易说出口 提交于 2020-01-15 10:08:52
问题 From the Huobi_python api, I'm trying to get the balance to show up sadly enough I get this error : "Traceback (most recent call last): File "C:/Users/Root/PycharmProjects/Huobi_API/TestZone.py", line 9, in print(balance.get(0).get(0).balance) AttributeError: 'Account' object has no attribute 'get'" I have no clue what I'm doing wrong or how to get the .get get to work Link to github: https://github.com/huobiapi/huobi_Python from huobi import * from huobi.model.constant import * request

Logic for Implementing a Dynamic Web Scraper in C#

扶醉桌前 提交于 2020-01-13 06:21:31
问题 I am looking to develop a Web scraper in C# window forms. What I am trying to accomplish is as follows: Get the URL from the user. Load the Web page in the IE UI control(embedded browser) in WINForms. Allow the User to select a text (contiguous , small(not exceeding 50 chars)). from the loaded web page. When the User wishes to persist the location ( the HTML DOM location ) it has to be persisted into the DB, so that the user may use that location to fetch the data in that location during his

Telegram add member to channel by bot api

99封情书 提交于 2020-01-13 05:52:26
问题 I have seen this question, but unfortunately no one answered: How to add user to my telegram channel by telegram api? I have created a bot and a channel in telegram. Then I added the bot to channel's administrators. How can I add members to channel by my bot APIs?! Programming languages: PHP, Python, C++:Qt, Java, C# (every of them or any library) 回答1: Unfortunately, you can't do anything except posting to channel via bot using Telegram Bot API. Hovewer, you may take a look at Telegram-CLI

PHP Chat Bot: Google Talk

扶醉桌前 提交于 2020-01-12 02:31:40
问题 I was wondering how to create a chat bot for Google Talk via special client. I know it uses XMPP to send messages, but I do not know how to use this at all. It is my understanding that I should be able to make a bot which chats for me when I am away if I were to create my own client page, which would parse the chats with my data. Where would I begin if I wanted to create a custom client, and how could I make it parse messages and autorespond in a set manner? My intended usage: autoresponder