Is there any way to trigger an event when the MSteams bot is opened

Jyothis 6 Reputation points
2021-08-03T09:03:33.683+00:00

Is it possible to get a webhook payload or event notification, when we open the MSteams bot.

Currently we are getting webhook payloads only when a message is send in the bot. Is there any way to trigger an event when the MSteams bot is opened

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
807 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
601 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,065 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Hunaid Hanfee-MSFT 981 Reputation points
    2021-08-04T13:17:17.803+00:00

    Hello,
    There is no trigger available as of now which get invoke when we open bot. This method might help you OnConversationUpdateActivityAsync, it gets invoke when user installs a bot or member is being added or removed. Have a look at TeamsActivityHandler Class for all available methods.

    Thanks,

    Hunaid Hanfee


    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.

    1 person found this answer helpful.