Connect Teams chat with external chat application - microsoft-graph-api

I have an external chat application and I want to try integrate my chat application with MS Teams. I want to have the same type of chat service where MS Teams and Skype interoperate.
I need to know how this was done and is it possible that this can be achieved via API.
If yes, what are the steps? I don't have the idea on where I can start.

Related

How to connect external chat web application to Microsoft Teams chats?

My company has a platform that connects all type of chat channels like WhatsApp, Viber, Line, FB messenger and others. By adding the channels the users in our platform able to chat directly with users on the channels.
So we would like to know if we able to connect our platform to MS Teams chat users and chat directly from our platform.
I'm not sure how we can connect from our platform to MS Teams.
Found below articles but these don't point out what need to be done exactly.
https://learn.microsoft.com/en-us/graph/api/chatmessage-get?view=graph-rest-1.0&tabs=http
https://learn.microsoft.com/en-us/graph/api/chatmessage-post?view=graph-rest-1.0&tabs=http
Webhooks help Microsoft Teams to integrate with external apps. In Teams, the Outgoing Webhooks act as bot and search for messages in channels using #mention. The Outgoing Webhooks allow users to send messages to web services without performing the entire process of creating bots through Microsoft Bot Framework. The Outgoing Webhooks post data from Teams to any service capable of accepting JSON payload.The service responds within ten seconds to the message with a text or a card.
Ref Doc:-1.https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-outgoing-webhook?tabs=urljsonpayload%2Cdotnet
2.https://learn.microsoft.com/en-us/microsoftteams/platform/sbs-outgoing-webhooks

Listen to MS Teams Chat New Message

I'm trying to build a chatbot system which can interact with our organization's Microsoft Teams channel. The Chatbot will be deployed on GCP VM. I was wondering how to listen to new messages from Microsoft Teams so that the chatbot can reply Teams user correspondingly in real time.
I know we can use Graph API to get messages from Teams but it doesn't seem realistic to send API request every second to get messages from all Teams users. Is there any other approach?
(We cannot use Azure Bot Service in our organization)
You can Subscribe to chat message and once the message is sent, it will automatically notify to the configured endpoint.
Reference doc: https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=http

Does Microsoft Teams meeting Apps works for live events?

I need to create an App for Microsoft Teams live events.
I've found that it is possible to Teams Meetings
https://learn.microsoft.com/en-us/microsoftteams/platform/apps-in-teams-meetings/teams-apps-in-meetings
The documentation doesn't mention Live Events.
Is it possible?
Thank you all!
Currently there is no API to set up live event in teams. Check the documentation. The closest one i can remember is that you can use MeetNow, but it is done in Graph API using application permissions. So a bot, application or a Flow / Logic Apps can create a Teams meeting.

How to create Authy (twilio) applications using API?

I'm trying to figure out how to segment multiple customers in a SaaS app when using Twilio's Authy.
One of the ways is to create an application per customer (with/without sub-accounts per customer/customer-group). However, to onboard customers automatically I would like to create applications via API.
Authy's docs are unhelpful - https://www.twilio.com/docs/authy/api/applications#create-new-application says "To create a new Authy application, click the red plus ('+') button from the console".
Is there a way to create an app from the API?
Twilio developer evangelist here.
I'm afraid there is not a way to create an Authy app from the API.

Server side XMPP client for QuickBlox using Smack

I'm building a chat application using QuickBlox, and I understand that it provides SDKs for Android/iOS/JS. As part of the implementation, I have to implement a server side bot that can chat with users. Is it possible to create a XMPP client on the web server that can maintain a stateful connection with QuickBlox's cloud and act as a client, and thus chat with users as a bot? I was planning on using Smack, but I'm totally unsure of how to integrate that with QuickBlox.
I've seen a python implementation of a possible server side bot, but I was looking for a Java based solution.
QuickBlox doesn't provide a Java SDK. Can anyone point me to a sample code that uses Smack and talks to QuickBlox?
Thanks!
There is another one Python bot implementation with some commands set
https://github.com/soulfly/MehDoh-q-municate-chat-xmpp-bot
it works with QuickBlox Q-municate http://qm.quickblox.com
and you can try to play with it - it's a user with name I am IgorK, just register and add him as a friend.
With Java and Smack it's also possible
How to start:
Use Smack guide to understand how it works https://www.igniterealtime.org/builds/smack/docs/latest/documentation/gettingstarted.html
Register an account in QuickBlox Admin panel and create an application there - use 5 mins guide http://quickblox.com/developers/5_Minute_Guide
Then go to Users module in admin panel and create a couple of users
Here is how to connect to QuickBlox Chat http://quickblox.com/developers/Chat#Connecting_to_server . Just build user's jid and password using users you created in admin panel and then use these credentials for Smack
that's all, should be quite simple

Resources