Capture Adaptive Card response in Ms Teams Graph beta API - microsoft-graph-api

I try to send out an adaptive card on the Ms Teams chat using the beta API.
Everything works as expected.
However, I need assistance to capture the response of user from an Action.Submit button.
Regards,
Aarushi

You may find the doc articles linked below helpful. In addition to the docs listed below, I would suggest they use the App Studio app from inside Teams to test their cards – it is the quickest way to see how they will render there. Because every channel controls how they implement support for Adaptive Cards, the only real way to test is to view the card in that particular channel.
Add card actions in a bot - Teams | Microsoft Docs

Related

Real Time Collaboration API for iOS Apps

I need a way to share a JSON data between 2 users in iOS and Swift. Does anyone have any suggestions for a way to do this? Maybe an official Apple or Swift API?
Requirements:
Easy to integrate with swift
Not hosted on a personal server
Thanks.
Apple offer the GroupActivities framework for that. During a Facetime call you can send custom data over the same connection for whiteboard apps with realtime collaboration. This year at WWDC 2022 they added a UDP tunnel for faster (but not guaranteed) data transfers and they also increased the packet size to 256KB. Here are some resources:
Videos:
WWDC21 session 10187: Build custom experiences with
GroupActivities
WWDC22: What's new in SharePlay
Sample code:
Drawing Content in a Group Session
Invite your friends to draw on a shared canvas while on a FaceTime call.

How to send a message from a Microsoft Teams bot using Microsoft Graph?

I a building a bot that should engage a 1 on 1 conversation with every user in a company using teams.
I would like to use the post chat message method:
https://learn.microsoft.com/en-us/graph/api/chatmessage-post?view=graph-rest-1.0&tabs=http
However, it is written that it is "Not supported" for Applications.
I am missing something?
PS: I am trying to use Teams as directly as possible without middle stuff like Bot Service.
You'll definitely need a bot for this, and to use something called "Proactive Messaging". Please see some similar questions from earlier just this week that will give you some good reading and background, especially:
Proactive Messaging in MS Teams
Sending proactive messages from an outside process to organizational users via Teams chat bot
In the 2nd question especially I give links to further reading, samples, and a video with some more background.

Is it possible to integrate Google Assistant with my custom app?

I would like to integrate Google assistant inside my app. The idea is that I have a app which provides various press services, like giving latest news and such. I would like to integrate Google assistant for handling some particular requests. For example the user may ask, "what did the Lakers yesterday?" If i search this on Google or ask to the assistant, i will get a card with the score of yesterday's game. I would like, from inside my app, to replicate this interaction, that is sending the request to Google assistant and showing the answer that Google return to the user (or at least opening Google assistant with the answer)
Is such a thing possible?
I was looking at Google Assistant service sdk (https://developers.google.com/assistant/sdk/guides/service/python/) and it says:
The Google Assistant Service gives you full control over the integration with the Assistant by providing a streaming endpoint. Stream a user audio query to this endpoint to receive a Google Assistant audio response.
Is this possible only with audio interaction? I'm not quite certain this is the solution I should look into
The Google Assistant SDK Service allows you to send both audio or text to the Assistant and you'll get back responses including audio, display text, and rich HTML visual content.
For mobile apps, there's less support compared to Python, but it's still doable. For example, there's a version of the SDK for Android Things, which means for IoT devices like a Raspberry Pi. You can go through this project and remove all the IoT references, but it's something you'd need to do yourself.

Draw annotation on Twilio Video Chat

I want to use twilio for Remote assistance.
Where user can share camera feed and Technician can assist by drawing annotations on the screen.
similar to the demo video on https://www.twilio.com/video
I was able to get the Video Chat running on my iOS devices.
Can you please guide me how to make annotations on one device which will be shown on the other device.
Twilio Video does not provide support for annotating videos as part of the SDK. There is also no current support for using the WebRTC data channel to send that across. You need to provide your own websocket solution for this I'm afraid.
Edit
Twilio Video does support the data channel now, under the Data Tracks API. You can see the documentation here: https://www.twilio.com/docs/video/javascript-v1-using-the-datatrack-api.
You might also consider using Twilio Sync for something like this too.

Build Ustream type application with TokBox API?

It's not immediately clear from their site, but can one build a one to many streaming app like Ustream using TokBox web/iOS APIs? Is it limited to just chat.
I'd want to make something that captures video from the desktop or ios device and makes that video accessible at some public URL.
Yes that is capable. OpenTok works with Publishers and Subscribers. A single Publisher can publish to a session then many users can subscribe to the publishers stream using a public access token.
Check out the API it shows what you can do with it, how it does it and even shows some good demos. There are many examples of how they have used it for online chat shows and other similar one-to-many applications.
They've also very recently released their WebRTC version which makes it definitely worth a look!

Resources