How to implement a Chat application to interact with a Teams BOT - microsoft-graph-api

I have written a chat BOT which works fine when I interact with it directly from Teams or from the BOT Framework Emulator.
However what I would like to do is interact with it from a Web Application.
Can anyone offer any guidance on how to do this. What Api should I use, are there any samples etc.
Just about all the documentation for writing chat applications seems to be about writing the BOT end. I need to implement the user end
Thanks.

If this is your own web application, that you control (i.e. source code), then this could be a good starting point: https://github.com/Microsoft/BotFramework-WebChat

Related

Integrating MS Teams into Ruby on Rails Web/Mobile app

We are looking into integrating MS teams into our web/Mobile app running on Ruby on Rails. Is there a work around or way to properly implement the Chat and Video Function sof MS teams into the app?
I don't know too much about it, but I think there -might- be some integration between Teams and Azure Media Services for scenarios like this. Check out https://learn.microsoft.com/en-us/azure/media-services/latest/media-services-overview as a starting point. As an example:
https://learn.microsoft.com/en-us/azure/media-services/latest/release-notes#new-docs-content-stream-a-microsoft-teams-meeting :
It's easy to relay your meeting broadcast from Microsoft Teams with a Media Services live event

Is it possible to stream voice to directline API from native app on iOS using Swift or Objective-c

I have a bot that leverages all the cool tech that comes with botframework, e.g. LUIS, QnA maker, adaptivecards, etc. The bot works well and I can use WebChat to connect to and ask questions and get responses. However, I now need native iOS (and eventually Android) app that can perform much like webchat does but I do not want to embed webchat in a web control in native app. I plan to have voice always on leveraging something like snowboy or picovoice for hotword to wake app and send commands to bot - users would ask things like "hey bot what is weather in Boston" and get presented with result message or adaptivecard.
Is voice steaming to directline API from Swift on iOS possible (I know most things are possible so any pointers would be greatly appreciated)? Or am I approaching from wrong angle and perhaps there is better/easier way to achieve my goal?

Creating a push notification system with a React Native front end and a Java Spring back end?

Currently building a mobile application that ideally would have functionality that allows one user to "nudge" another user, pretty much the equivalent to a Facebook "poke." For the sake of building quickly, we'd like to use as many third-party libraries/services as possible. So far we were looking into using pusher and expo, but to be totally honest, we are a bit confused as to how to architecture this.
From what I understand, the front-end (ios app) would subscribe (open a socket) to a specific channel/server and the server would then send messages to the client(s) that subscribed whenever necessary. How this works with users being subscribed to every other user they are friends with, I don't understand. What's the proper way to architecture this?
I also read that on the front end, when a user doesn't have the ios application open you can't have any websockets open to the server, so how does that work?
Additionally, how does one bundle notifications??
Really confused with this, any help would be greatly appreciated.
Chris
Well, push notifications now mostly are implemented with Firebase. This is a service inside most of mobiles, so you only need use these libraries to implement your client application.
From the server, you only need to consume a rest api of Firebase.
Now there are permissions to allow mobile applications receive push notifications in background. You do not need to implement a socket or websocket, that is a feature of Firebase.
Read more about this.
https://medium.com/google-cloud/push-notification-for-react-native-bef05ea4d1d0
https://dzone.com/articles/how-to-add-push-notifications-on-firebase-cloud-me

TokBox (OpenTok) Let users call each other using

Using any of the OpenTok client SDKs, is it possible to call from one client to an other client, and make it look like similar to a "real" phone call?
I understand that a user X and user Y can join the same "room" if they both know the name of the room. But I don't understand how user X can send signals, to notify user Y to join a specific room, how is this done? I want it to work cross platform, i.e, work on iOS, Android devices, and web pages. My use cases are:
- app to browser
- browser to app
- app to app
- browser to browser
Is it possible in all of my use cases? Which are possible?
Is it possible to use OpenTok in a mobile app to show an incoming call even though the app is in the background (like how facebook messager and whats app works)
I've gone trough the tutorials on Tokbox website and successfully got them working, but I can't find a way to let different users notify each other to join a session (neither in a peer-to-peer way, or via a server). How should this be done?
I cannot find that this functionality is provided by another player such a Twilio either.
Thanks in advance,
Let's OpenTok do its job. In other words, use OpenTok to actually start a video session. All these things that you talked can be handled WITHOUT OpenTok, like REST APIs or Websocket or whatever.
I used to work in a similar project. Have a server to coordinate everything (all clients connected, who call who, push notifications, etc).
Whenever A needs to call B, the SERVER will start a "room" and put A and B to talk to each other...
So, don't mix the things. Let your server orchestrate everything and use OpenTok for video. It's designed for this purpose.

Fetching Skype chat logs in blackberry via code

I am developing a blackberry application, in that I have to fetch Skype chat logs. I have googled a lot on this topic, but didn't find any related info. Could any one tell me how to fetch Skype logs(Chat history) via code.
Thanks.
I do not believe this is possible as this would be a third party application asking for information from another third party application. Each application is sand boxed and therefore unable to retrieve information outside of their verticals unless it is released, example like using the shared folder.
Hope that helps!
WiLL

Resources