Send messages to bot users in microsoft teams via api - botframework

I have an use case where i have to trigger notifications with card, message and url to bot users when an event has occured at backend. Is there a way to send message to bot users via api

Related

How to send message (card and notification) to Teams Bot from my API?

How to send message (card and notification, and any different actions) to my Teams Bot from my API (Stand-alone application)?
I can send "Activity" to chat using
connectorClient.Conversations.SendToConversationAsync(conversationId, messageActivity); But it's just a message and my Bot doesn't "hear" the message.
I need to send notification or card to specific conversation (specific user that installed my Teams APP and loged in to our service). I use "OAuthPrompt" for authorizing.
Then ... The card should be displayed in chat and user can react on it or ignore.
Card should be interractive and identified by object Id (I need to send the data to Stand-alone application back by object Id if user adds a note)...
Something like the following
PS.: As I wrote ... I send "Activity" using SendToConversationAsync ...Do you know how to handle/catch the message on bot side?

Microsoft Teams no install event - can't send welcome message

Up until this Friday, MS Teams would always send a conversationUpdate event payload to our bot messaging endpoint whenever a user installed our app in Teams.
This stopped happening suddenly and now we only get a message when an app is added to a Team scope and not just personal scope.
Given that: how do we know to send a Welcome message via our bot to a user that installed our app if we receive no message, no payload. Nothing hits our bot messaging endpoint.

Send message from telegram bot to viber bot

I have a bot working on Laravel Framework, there is a need to send a message to Viber bot. Is it possible?
As I know Telegram doesn't support API to sending messages to external systems like Viber.
But you always can send message from Telegram bot to your server, and then forward this message from server to Viber.

Microsoft Teams Bot not sending message Edit/Delete events to bot messaging endpoint

I set up an app using the App Studio within Teams and enabled a bot.
I set up the Messaging endpoint for the bot and am able to receive message and conversationUpdate events from the Teams client. This all works fine.
However, if I then edit a message in the Teams client, the messaging endpoint does not receive the text of the edited message at the messaging endpoint.
Similarly, if I delete a message, I do not receive an event indicating that a message has been deleted.
I'm wondering:
Is this expected behavior?
Is there somewhere these events have to be configured in order to receive them?
Is there an alternate way to integrate with Teams/BotFramework in order to receive these events?
Thanks!

How to request undelivered messages in BotFramework?

I can send a message to Skype user and I can receive message from him. But I can't get messages that user sent to bot while server is down.
For example, Facebook Messenger Platform will resend the webhook event every 20 seconds, until a 200 OK response is received. Viber also used webhook url. But Skype does not resend to my bot at least 15 minuts.
I realized a simple Echo Bot. The bot messaging endpoint isn't Azure. The bot is not published, but can be added to Skype contacts. I use REST API.
Any help is welcome. Sorry for my bad English

Resources