Users cannot send files to Microsoft Teams chatbot - microsoft-teams

We have a Mirosoft Teams app/chatbot installed with the personal and team scopes as a tenant app in a customer's tenant.
We have received a report from a user that they cannot send files to the bot, as the paperclip icon is not available in the chat with the bot.
Note that the bot's supportsFiles is set to true in the manifest.
Could this be due to a scope mismatch, e.g. app used personally instead of as a team app? Why would the behavior change?

Related

How to send the Message to teams using Bot Framework?

I have created one Chatbot using MS Bot Framework. Also added that in My Teams App. But not able to send messages to the users who not installed that app in there Teams. I just wanted to check if there is any provision to send the message to the users who not installed the Bot to there Teams App.
There is no way to send proactive messages to users who have not installed and interacted with your bot. Your bot has no way of knowing who those users are. If a user wants to communicate with the bot, they must install the app.
Adding to this. I ran into a similar issue where I had a Teams app that uses a notification style bot to send one-way notifications to users. The only way I was able to communicate to them was by getting the user context via an app install event. When an install event is captured, I save that users' context into a SQL database table in the event of the bot being restarted (then reload on start).
You can use the Graph API to install the bot automatically (see Proactive installation of apps using Graph API to send messages) or install it via a MS Teams app setup policies (see Install apps).

How to make a bot receive attachments when channeling it to MS Teams

I made a normal bot by using Microsoft Bot Framework and have deployed it to the Azure portal. I tried to channel the bot to Teams, which worked but the bot couldn’t receive attachments. How can I make it do so?
Thanks.
Microsoft Teams does not allow attachments by default. To send and receive files in the bot in teams, set the supportsFiles property in the manifest to true or else create an app for your bot in App studio. Specify your app allows upload attachments. And install it in your own Team account for testing. Please look at this sample code for reference.

Microsoft Teams App added or removed from personal scope events missing

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.

sending new messages to this bot has been disabled by your administrator in teams

I am unable to chat with teams bot i am getting message like "sending new messages to this bot has been disabled by your administrator in teams" instead of showing text box
I've also encountered my custom bot having the disabled presence, whilst the same bot on a different tenant had the available presence.
As suggested in the comments, you or your Teams admin need to check the box 'Allow interaction with custom apps':
Teams admin center
Team apps
Manage apps
Org-wide app settings
Check 'Allow interaction with custom apps'

Bot Framework - Teleram channel not published

What do I need to do to make the Telegram channel publish?
Telegram not published
Access token added.
The "publish" slider is there for listing your bot in the Bot Directory. Microsoft has not yet opened the Bot Directory to 3rd party developers, so it remains disabled. You can still create bots and share them with other people (in this case by providing them with the name of the telegram bot), you just can't list them in the directory as of yet.

Resources