Is there any way to start conversation with bot in ms-teams?
I know we can call bot in ms Teams by @botname or graph api.
call a bot by @botname
call a bot from graph api.
https://learn.microsoft.com/en-us/graph/api/resources/chatmessagemention?view=graph-rest-1.0
But I wanna start conversation from bot like below picture.
Do you know how to realize this?
Any advise would be very appreciated, thanks!
===10/26 Add question ====
Thank you for your reply.
Teams samples for auth, message extension, conversation(message all members in a Team or Channel, '@mention' a user from a bot), file upload and more.
Yes, I know this sample, and I tried to "teams-conversation-bot" by python. But it is call bot only '@mention' a user from a bot or message 1on1.
That means, is it possible to realize below situation using 'send proactive notifications to users.'?
- Send to http request to bot endpoint by POST from our product.
- Bot received HTTP request
- Bot start conversation and '@mention' a channel and a user.
The Bot Framework SDK v4 is delivered as an open source SDK on GitHub, targeting .NET, JavaScript, Python, and Java. Connect a bot to Microsoft Teams, please follow the doc.
Here are the bot builder samples for quick-start.
Teams samples for auth, message extension, conversation(message all members in a Team or Channel, @mention a user from a bot), file upload and more.
Here to send proactive notifications to users.