To publish an Azure Bot Service to your Teams sandbox, you need to create an app package. This package includes a manifest file that describes the app and its capabilities. You can create this manifest manually or use the Teams Developer Portal to generate one.
Here's how you can create an app package:
Use Developer Portal for Teams: The Developer Portal provides a user-friendly interface to create and manage your Teams apps. You can define your app details, capabilities (like bots, tabs, etc.), and permissions here. Once you've defined your app, you can download the app package (which includes the manifest and icons). You can learn more about the Developer Portal here.
Create an app package manually: If you prefer to create the app package manually, you can create a manifest.json file and package it with your app's icons into a .zip file. The manifest file is a JSON file that tells Teams everything it needs to know about your app. You can learn more about creating an app package manually here.
Once you have your app package, you can upload it to Teams following the instructions here.
For sending a proactive message to a new channel without the user first sending a message in that channel, you would need to have the channel ID stored in your app settings or database. Once you have the channel ID, you can use it to send proactive messages to that channel.
Please note that to send proactive messages, your bot needs the Group.ReadWrite.All
permission and you need to handle the consent flow for this permission. You can learn more about proactive messages here.
Thanks,
Prasad Das
*************************************************************************
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.