Is it possible to show a customize bot name in msteams , when mouse will be hover,

Ananda Jana 0 Reputation points
2024-11-26T16:38:34.22+00:00

I already read https://learn.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema,

There have only

"description": { "short": "Short description of your app (<= 80 chars)", "full": "Full description of your app (<= 4000 chars)" },

but I want to display some other name in msteams as channel when mouse will be hover to a specific bot.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
863 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,439 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,394 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sina Salam 13,371 Reputation points
    2024-11-26T20:53:03.5533333+00:00

    Hello Ananda Jana,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you would like to know if it is possible to show a customize bot name in MSTeams when mouse hover.

    To customize the bot name that appears when you hover over it in Microsoft Teams, you can update the bot's profile card. This involves editing the bot's name, icon, and description in the app manifest file. Here are the steps:

    1. In your app manifest file, you can specify the bot's name, icon, and description. This information will be displayed when users hover over the bot.
    2. Go to your bot dashboard (e.g., The Bot Platform) and update the bot's name, icon, and description - https://help.thebotplatform.com/en/articles/3705582-editing-your-bot-icon-name-and-description-on-microsoft-teams
    3. Make sure that the bot's profile card is properly configured to display the updated information. This can be done by setting the appropriate properties in the manifest file. This is an example of how you can update the manifest file:
    {
         "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.11/MicrosoftTeams.schema.json",
         "manifestVersion": "1.11",
         "version": "1.0.0",
         "id": "your-app-id",
         "packageName": "com.example.yourapp",
         "name": {
           "short": "Your App",
           "full": "Your Full App Name"
         },
         "description": {
           "short": "Short description of your app",
           "full": "Full description of your app"
         },
         "icons": {
           "outline": "https://your-icon-url.com/icon-outline.png",
           "color": "https://your-icon-url.com/icon-color.png"
         },
         "bots": [
           {
             "botId": "your-bot-id",
             "scopes": ["personal", "team", "groupChat"],
             "supportsFiles": false,
             "isNotificationOnly": false,
             "displayName": "Custom Bot Name",
             "profile": {
               "displayName": "Custom Bot Name",
               "iconUrl": "https://your-icon-url.com/icon.png",
               "description": "Custom description for hover text"
             }
           }
         ]
       }
    
    

    By updating the displayName and iconUrl fields, you can customize what users see when they hover over the bot in Microsoft Teams - https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/bot-configuration-experience and https://answers.microsoft.com/en-us/msteams/forum/all/how-to-change-the-teams-bot-name-dynamically/554f784b-65f5-46ba-80d0-ac03d74d1871

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.


  2. Prasad-MSFT 7,316 Reputation points Microsoft Vendor
    2024-11-27T05:11:12.99+00:00

    To display a custom name in Microsoft Teams when hovering over a specific bot, you need to configure the bot's profile card. Unfortunately, the manifest schema you mentioned does not directly support setting a custom hover name for bots. However, you can achieve a similar effect by customizing the bot's profile card and display name.

    You can customize the bot's profile card by updating the bot's configuration settings. This includes setting the fetchTask property in the app manifest to true, which allows the bot to fetch and display custom dialogs or Adaptive Cards when invoked.
    Ref: 1. https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/bot-configuration-experience?tabs=teams-bot-sdk1%2Cteams-bot-sdk2%2Cteams-bot-sdk3#build-bot-configuration-experience
    2. https://learn.microsoft.com/en-us/microsoftteams/platform/bots/what-are-bots#bot-name-and-icon

    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.


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.