bot framework
72 TopicsAnnouncing Enterprise Assistant Bot Template and Conversational UX Guide
Check out the latest Enterprise Assistant Bot Template in Bot Framework Composer and Conversational UX Guide we are announcing as part of Conversational AI’s release at Microsoft Build Conference this week.5.5KViews6likes0CommentsCan we send private message in Microsoft Teams using bot on behalf of user in Teams ?
We can send private messages from a Microsoft Bot to a Teams user. It appears as a chat between bot and a user. But I need a functionality where a bot can send message on behalf of user in Teams and it would exactly appears as a 1:1 chat of two users in Teams, not as a chat between bot and a user.7.3KViews1like2CommentsHow can open sign in dialog inside the ms team
I am trying to create custom app through bot framework i want to open sign in dialog box inside the ms teams but i don't know how can i do this every time when i click on link sign in page open in the browser. I am testing in emulator every time when i click on link it open in browser welcome.json { "type": "AdaptiveCard", "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.2", "body": [ { "type": "Container", "items": [ { "type": "TextBlock", "text": "Hi! I'm Bot - welcome to our app for Microsoft Team!", "wrap": true, "weight": "Bolder" } ] }, { "type": "Container", "items": [ { "type": "TextBlock", "wrap": true, "weight": "Lighter", "text": "I'm here to help you manage your tickets with in teams." }, { "type": "Container", "items": [ { "type": "TextBlock", "text": "Here's what can i do:" }, { "type": "TextBlock", "text": "Create a new ticket.", "wrap": true } ] } ], "verticalContentAlignment": "Bottom" }, { "type": "TextBlock", "text": "Post ticket related notifications to the team channel of your choice.", "wrap": true }, { "type": "Container", "items": [ { "type": "TextBlock", "text": "For more information, visit our [knowledge base article](https://example.com/blog/). If you're the help desk administrator, please link to start using Bot for Microsoft Teams, [Book a demo](https://example.com/) if you don't have account", "wrap": true } ] }, { "type": "Container", "items": [ { "type": "ActionSet", "actions": [ { "type": "Action.OpenUrl", "title": "Link", "url": "https://ngrok.io/sign_in" } ] } ] } ] } bot.ts this.onMembersAdded(async (context, next) => { const welcomeCard: Attachment = CardFactory.adaptiveCard(WelcomeCard); const membersAdded = context.activity.membersAdded; for (const member of membersAdded) { if (member.id !== context.activity.recipient.id) { // If we are in Microsoft Teams if (context.activity.channelId === 'msteams') { // Send a message with an @Mention await this._messageWithMention(context, member, welcomeCard); } else { await context.sendActivity({ attachments: [welcomeCard] }); } } } // By calling next() you ensure that the next BotHandler is run. await next(); });2.2KViews1like5Comments