अंग्रेज़ी में पढ़ें संपादित करें

इसके माध्यम से साझा किया गया

Build action based message extension

Set up app settings and manifest files

  1. Go to the appsettings.json file in cloned repository.

    Screenshot of cloned repository with the file path and appsettings JSON file highlighted in red.

  2. Open the appsettings.json file and update the following information:

    • Set "MicrosoftAppType" to MultiTenant.
    • Set "MicrosoftAppId" to your bot's Microsoft App ID.
    • Set "MicrosoftAppPassword" to your bot's Value of Client Secret.
    • Leave "MicrosoftAppTenantId" blank for MultiTenant bot.
    • Set "BaseUrl" to the fully qualified domain name.

    Screenshot of appsettings JSON file displaying the appsettings information.

  3. Go to the manifest.json file in the cloned repository.

    Screenshot of Teams App Manifest folder with the file path and manifest file highlighted in red.

  4. Open the manifest.json file and make the following changes:

    • Replace the <<validDomains>> with your fully qualified domain name.
    • Replace all occurrences of <<Microsoft-App-ID>> with your bot's Microsoft App ID.

    Screenshot of manifest page with the ID, bot ID, and Valid domains highlighted in red.