How to update the text which appears on the hover of the message extension bot in Microsoft Teams using bot framework v3.
The only part you can change directly is the description in the top. The "permissions" section you've highlighted you can't change explicitly, as they're based on what your Teams app contains. For instance, if you app contains a bot, then by definition it will be able to "receive messages and data that I provide to it". Things like your bot scope will also influence this - what I mean is if you bot is ONLY a personal, 1-1 bot, then you wouldn't have "access this team's information", because it doesn't apply to a 1-1 bot. In contrast, if you've selected that your app contains a bot, and the bot can be used in a Team channel, then it would need that permission.
Also relevant are the other permissions you explicitly request for your app. In App Studio, these would be on the "Domains and permissions page" under "Device permissions".
Related
I try to write an app for Microsoft Teams which does include a Bot.
The bot should write a welcome message as soon as the app is installed by the user in his personal scope. Additionally I want to be informed when the user uninstalled an app.
There are events when a new user is added/removed to a team (onTeamsMemberAdded/onTeamsMemberRemoved) in which the bot is installed, but is there also something for the personal scope?
onTeamsMemberAdded should deal with personal scope as well, and it will enable you to send a welcome message. However, there is unfortunately no way to get notified when your bot is removed. onTeamsMemberRemoved only applies when your bot is part of a group chat, or channel, and only tells if other users have been removed. This is a missing feature in Teams right now.
I am testing a chat bot (built using MS bot framework) in MS teams. The bot is designed for one on one chat but I want to make it available to a group of testers. As such, I've created a team and added the testers as members and the bot as an app. According to the MS documentation my understanding was that if the bot manifest included 'personal' in the scope then any team member should be able to start one on one chat with the bot. However, when searching for the bot in the "to" field of the Chat window some team member can find the bot and others can't. My first thought was that there was delay between when a person was added to the team and when they could access the bot in a one on one chat. But that doesn't seem to be the case. Is there something else I've overlooked that would prevent the bot from showing up for some team members but not others?
#Moe Adding the Bot to a team does not make the bot available to all the members of the team in personal scope. It is still in the teams scope and all the team members will be able to access the bot in the team only. A member of the team should either install the app in personal scope or click on the chat icon by hovering on the bot name in team and click on "Add"
#Gousia-MSFT's answer got me part way to a solution. When hovering over the bot's icon in the Teams chat I didn't get an option to 'add' the bot. However, there was an option to 'chat' with the bot:
. Using the text box or clicking the chat icon starts (or continues) a one on one conversation with the bot.
I am enabling slack channel in MS bot framework. All mentioned steps are done and from my own ID i am able to communicate with bot.
However, I when I give "Add to Slack" button to another slack user, it asks for permissions. After allowing the permission, the user is transferred to https://bots.botframework.com/ webpage where following is written:
Persmissions snapshot: Permissions snapshot before bot framework page
error page
The Bot Directory is no longer accepting new submissions. Add your bot to the Bing channel so users will not only be able to find it, but chat with it too
I have already enabled bot for public in slack settings, and users should be able to chat with bot who have the ID of bot.
Looks like some change has been done from Microsoft, which I am not aware of. Ideally it should take the user to conversation page
In order for user to chat with your bot on Slack, you DO NOT need to use that link to connect them. The method you're attempting is to give them a roundabout admin access, which won't actually work.
In order for your users to communicate with your bot, once it's properly connected to Slack, they can simply select it on the app list, like so:
Additionally, you as the admin, can add the bot to a particular channel, where the users can chat with the bot directly.
I've created a bot (a simple echo bot) and deployed it to Azure. Everything works well now and I can talk to the bot in the desktop Skype client (Windows 10 app).
However, I can't seem to be able to add the bot to an existing group chat. When I click on the add button the list of contacts to add doesn't have my bot in it, which is weird because I've added it to my contacts.
https://stackoverflow.com/a/41644443/249230
^ According to that post I need to create a "private chat" with my bot and then I'll be able to add it to group chats, but I have no idea how to do that.
I haven't published my bot, but I did enable "Allow adding to a group" in bot settings on https://dev.botframework.com.
Any idea why it's not working?
Private chat is talking directly to your bot. If you have added it to your contacts, it should be easy to open a direct conversation with it by double clicking.
Then you can add people in the conversation using the top right button:
Then you will have your group chat working:
Note for other people asking the same question (but you already mentioned that you did it), don't forget to activate the group conversation for your bot in botframework portal, in Skype channel settings
Have you tried to add a bot to group?:
https://telegram.me/[botname]?startgroup=foo
I am trying to implement a bot in my website using the botbuilder framework for node.js. The function builder.ChatConnector() get the parameters appId and appPassword, does any one knows where can i found these appId and appPassword? It isn't clear for me in the microsoft documentation. The function is shown above:
function builder.ChatConnect
BotFramework documentation
You can find this information when you create your bot in Azure Bot Service, or when you proceed to register your bot at the dev portal.
Here's a brief walkthrough for registering through the dev portal with the minimum requirements. You'll need to fill out the name, bot handle and description for the bot as indicated below:
After this, you can scroll down and click on the button that says "Create Microsoft App ID and password".
Once you click on the button you'll be taken to a page with your bot name, your newly-generated App ID, and another button that allows you "Generate a password to continue".
After you click the button a small window will pop up with your password which you need to keep track of as it is only shown once!
NOTE: For developing and testing using the Emulator, you don't need this information just yet. You only need the AppID and password when you are making your bot public facing/deploying it.
You need to register your bot in https://dev.botframework.com/ and there you will get those values. Check this article that explains how to do that.