BotBuilder-MicrosoftTeams | Microsoft Bot Builder extension library | Bot library
kandi X-RAY | BotBuilder-MicrosoftTeams Summary
kandi X-RAY | BotBuilder-MicrosoftTeams Summary
Microsoft Bot Builder extension library for developing bots for Microsoft Teams
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of BotBuilder-MicrosoftTeams
BotBuilder-MicrosoftTeams Key Features
BotBuilder-MicrosoftTeams Examples and Code Snippets
Community Discussions
Trending Discussions on BotBuilder-MicrosoftTeams
QUESTION
I'm working with this sample project and I'm totally new at this and have spent 3 days with virtually no documentation provided: https://github.com/OfficeDev/BotBuilder-MicrosoftTeams/tree/master/Node/samples Our company would like to proactively message users in Teams so I thought this would be a good starting point.
Step 1: I ran npm install which installed "botbuilder": "^3.16.0"
Step 2: I did npm install botbuilder-teams --save
in both /Node where the package.json is and also in /Node/samples -> I copied over the package.json here since I wasn't sure where exactly that npm module needed to be installed from
so again I have Node/package.json
and Node/samples/package.json
both isntalling the same sets of modules.
Step 3: from cd Node/samples
and node app.js
From a browser I go to: http://localhost:3978/
and get {"code":"ResourceNotFound","message":"/ does not exist"}
From the emulator, I go to http://localhost:3978/
and type in hello
and don't get any responses
I suspect that this is where my issue is:
...ANSWER
Answered 2019-Sep-11 at 03:11based on the codes you provided, you should use this URL to test this sample on local:
QUESTION
I have a bot written with the help of bot framework v4
. The bot is integrated with Microsoft Teams. I want to send a welcome message to the user when the user installed the bot and joins the 1:1 conversation. In Teams the conversationUpdate
is fired exactly once (this is when the suer joins the 1:1 conversation) and then never again for that user. My idea was to write a function that is triggered by a chat message to send the updateConversation
activity manually to debug the welcome message.
I failed so far and got a
BadArgument: Unknown activity type exception.
I have tried using the Microsoft.Bot.Builder.Teams nuget using the ConnectorClient
to send the conversationUpdate
activity to the conversation.
Also I set up a console application and tried using the v3/directline/conversations/{conversationId}/activities
and got a Forbidden
error.
ANSWER
Answered 2019-Aug-02 at 15:18I'm not sure of a way to force a ConversationUpdate
to be sent in the way you're attempting to. Instead, I'd just throw something like this in OnMessageAsync()
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install BotBuilder-MicrosoftTeams
Sample bot Node
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page