Forum Discussion

joseFaustinos's avatar
joseFaustinos
Copper Contributor
Aug 08, 2023
Solved

Change name of Bot tab in Teams application

Hello! 

I'm constructing a Teams app with a bot service. When I add it to Teams, it shows the bot interaction under a tab named "Activity" 

I would like to change it to display the name "Chat" as in the TeamsConversationBot example: 

Has anyone been able to figure out how to rename the Teams tabs in the app manifest? 

Thanks in advance

 

Here is the app manifest: 

{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
    "version": "1.0.0",
    "manifestVersion": "1.16",
    "id": "094sqrs0-6o98-4754-n3qp-55n01n98on1q",
    "packageName": "com.package.name",
    "name": {
        "short": "TR Notification Hub CI",
        "full": ""
    },
    "developer": {
        "name": "Thomson Reuters",
        "mpnId": "",
        "websiteUrl": "https://tr.com",
        "privacyUrl": "https://tr.com/privacy",
        "termsOfUseUrl": "https://tr.com/privacy"
    },
    "description": {
        "short": "TR Notification Hub CI",
        "full": "TR Notification Hub CI"
    },
    "icons": {
        "outline": "outline.png",
        "color": "color.png"
    },
    "accentColor": "#FFFFFF",
    "bots": [
        {
            "botId": "########-####-####-####-############",
            "scopes": [
                "personal"
            ],
            "isNotificationOnly": true,
            "supportsCalling": false,
            "supportsVideo": false,
            "supportsFiles": false
        }
    ],
    "validDomains": [],
    "webApplicationInfo": {
        "id": "########-####-####-####-############",
        "resource": ""
    },
    "devicePermissions": [
        "notifications"
    ]
}

 

  • joseFaustinos - We have noticed that if your bot is notification-only bot i.e. if "isNotificationOnly": true, the tab shows as 'Activity'.

     

    and if your bot is interactive (two-way communication) i.e. if "isNotificationOnly": false, the tab shows as 'Chat'.

     

     

     

    Thanks, 

    Prasad Das

    ------------------------------------------------------------------------------------------ 

    If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.

5 Replies

  • joseFaustinos - Could you please share your manifest file after removing PII data, so that we ca validate it from our end?

    If you issue has already resolved, please confirm here.

    • joseFaustinos's avatar
      joseFaustinos
      Copper Contributor
      Just attached the app manifest in the message body. Thanks in advance!
      • Prasad_Das-MSFT's avatar
        Prasad_Das-MSFT
        Icon for Microsoft rankMicrosoft

        joseFaustinos - We have noticed that if your bot is notification-only bot i.e. if "isNotificationOnly": true, the tab shows as 'Activity'.

         

        and if your bot is interactive (two-way communication) i.e. if "isNotificationOnly": false, the tab shows as 'Chat'.

         

         

         

        Thanks, 

        Prasad Das

        ------------------------------------------------------------------------------------------ 

        If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.