How to send message from bot outside botbuilder class

Guest 20 Reputation points

I am using app-only authentication for Graph API

Now, based on some events in backend, i wanted to send message to particular channel from my BOT

i can see that, it is not possible in app-only authentication, my question is i wanted to send message as BoT and not as user (who signed in)

how can i do that?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
770 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,402 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,118 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.
2,970 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prasad-MSFT 5,896 Reputation points Microsoft Vendor

    To send a message to a particular channel from your bot, you need to use proactive messaging. Proactive messages are any messages that a bot sends, initiated by an external event, not in response to a user's request.

    Please refer:

    0 comments No comments