Configure the bot to support files but it's not working in teams' channel

lakshmi 691 Reputation points
2024-07-17T06:40:19.16+00:00

Hi Team,

We have configured the bot to support files and below is the settings in manifest file.


"bots": [
		{
			"botId": <bot id>,
			"scopes": [
				"personal",
				"team"
			],
			"commandLists": [
				{
					"scopes": [
						"team"
					],
					"commands": [
						{
							"title": "help",
							"description": "help"					
						}
					]
				},
				{
					"scopes": [
						"personal"
					],
					"commands": [
						{
							"title": "help",
							"description": "help"
						}
					]
				}
			],
			"supportsFiles": true,
			"isNotificationOnly": false
		}
	],


Our scenario is to send an image from personal chat to the teams channel and vice versa. It works perfect in sending from personal chat to teams channel and below the screenshots for the data we get in bot context activity.

User's image

User's image

While sending an image from the Teams channel to a personal chat, we are not receiving the download information in the turn context activity as the above turn context data.

User's image

Screenshot 2024-07-15 173631

What could be the reasons why sending an attachment from the Teams channel does not include information about the image. Do we need to make any changes to the manifest file to get the download info when sending files from the Teams channel.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,912 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,186 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.