How to send notifications to specific users in Microsoft Teams (across multiple teams) from an external api - rest

I want to notify (can be activity feed or 1:1 chat) specific users in Microsoft Teams via an external api. The teams can be of different organizations. I looked into the docs as well, but couldn't figure out the solution. Is this even possible?

Yes, this is definitely possible - it requires you to build a bot to enable pro-active messaging. There are actually a few different approaches and API options for doing this, but I've got a very comprehensive example of one of the approaches, that includes a .Net and a Node.js sample, at https://github.com/HiltonGiesenow/teams-dev-samples/tree/add-proactive-messaging-sample/samples/bot-proactive-messaging. There are links at the bottom of the page to various additional readings as well for more info.

Related

How can we collect the facebook group request data using a chrome extension?

Is there any way that we can collect data by asking the questions when someone wants to join the group. And we collect the data when we approve the joining request or sometimes programmatically?
Could you please elaborate on how we can use Facebook GRAPH API for fulfilling the above purpose?
Check out GroupTrack CRM...it's a CRM that is integrated into Facebook via a Chrome Extension. It does exactly what you asked (one click to approve individual or all pending members while also saving their answers to your questions and adding them to the CRM), along with a ton of other awesome stuff.
Keep notes and tags, track sales funnel stages, bookmark posts and comments, set follow up tasks with reminders, and more across unlimited Groups. Everything is synced in real time with a web app as well, so you can access your contact information from anywhere, plus it can be set up to integrate with external systems (Google Sheets, Streak, and Kartra at the moment, but many more to come).
Lastly, GroupTrack supports teams, so if you run a Group with other admins, you can share access to the CRM and have everything kept in sync. It's awesome!

How to get whole tems unreded notifications ( activity + chat, etc)

I'have search inside Microsoft documentation Graph API some method to get any kind of unread notifications from Teams product but I didn't see anything relevant that could I use through a REST API.
IS really possible to get the unreaded notifications?
This badges numbers is what I want
Thanks in advance
IS really possible to get the unreaded notifications?
Of course, the answer is yes. Currently, there are not existing Team API for this, you need to do it by yourself, meanwhile submit an feature request in the UserVoice. A workaround for you: get the message/activity list first, and store the lastModifiedDateTime in your app cache, then use corresponding API to regular interaction with the server to see if any update is available.
The feed aggregates important content from the following:
Teams/channels
Chats
Apps such as Files, Planner, and your Teams apps
https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/activity-feed
This is on the roadmap but we don't have and dates to share publicly.

list membership requests WITH answers to questions

Facebook API endpoint /v2.11/{GROUP_ID}/member_requests/ allows me to list membership requests to group I have permission.
I'm looking method/idea/etc to list membership requests WITH answers to questions (my group requires answering questions when user wants to join).
Do you have any ideas how can I achieve this?
Best regards,
Milosz
Looking for the same.
I currently found https://developers.facebook.com/docs/workplace/integrations/custom-integrations/reference/member to list members, but still can't get members' answers.
Unfortunately, you can't do this via the API. However, there are some Chrome Extensions that allow you to save the answers to those questions!
Check out GroupTrack CRM...it's a CRM that is integrated into Facebook via a Chrome Extension. It does what you're looking for (one click to approve individual or all pending members while also saving their answers to your questions and adding them to the CRM), along with a ton of other awesome stuff.
Keep notes and tags, track sales funnel stages, bookmark posts and comments, set follow up tasks with reminders, and more across unlimited Groups. Everything is synced in real time with a web app as well, so you can access your contact information from anywhere, plus it can be set up to integrate with external systems (Google Sheets, Streak, and Kartra at the moment, but many more to come).
Lastly, GroupTrack supports teams, so if you run a Group with other admins, you can share access to the CRM and have everything kept in sync. It's awesome!

Microsoft Teams : REST APIs

I'm interested in getting data (metadata and content of files) out of Microsoft Teams into my application using REST APIs. I have looked at Office 365 APIs and Graph APIs but, I could not find supporting documentation for Microsoft Teams.
Teams API is now added to beta endpoint in Microsoft Graph. In documentation, you can find it together with Groups. Post, Channel and Chat Thread are available.
For example, documentation for "channel" resource is here:
https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/resources/channel
Microsoft Teams REST API is now included into MS Graph API
https://learn.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-1.0
At the time of writing this answer there are not too many APIs around Teams. However more are being added and they are in Beta (sending messages, adding apps to team, uploading team image, and more).
https://learn.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-beta
It is not recommended to use Beta APIs in production environment as they might change.
It is also worth of mentioning that Teams are actually Office365 Groups.
Please take a look at Graph API
https://learn.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-1.0
https://learn.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-beta
Expand "Teamwork" at left side, you can get all Teams related API
We do not have Teams APIs available at this time. Our extensibility options are limited to experiences within the Teams application.
The Microsoft Graph API is constantly changing and we're currently using the following to monitor/interact with our Microsoft Teams application:
https://learn.microsoft.com/en-us/graph/api/resources/teams-api-overview
It gives access to the following (at the time of writing this):
We also monitor the general usage via the reports section in the Graph API:
This gives access to:
Device Usage:
Get details about Microsoft Teams device usage by user.
Get the number of daily unique users by device type.
Get the number of unique users by device type over the selected time period.
User Usage:
Get details about Microsoft Teams user activity by user.
Get the number of Microsoft Teams activities by activity type. The activities are performed by Microsoft Teams licensed users.
Get the number of users by activity type. The activity types are number of teams chat messages, private chat messages, calls, or meetings.
https://learn.microsoft.com/en-us/graph/api/resources/microsoft-teams-device-usage-reports?view=graph-rest-1.0

Writing custom WebEx client

Are there API/SDK that make it possible to create custom WebEx client. So far I've only found APIs for managing pre and post-meeting content, but not during the meeting itself.
Alternatively I'd like to create a widget like plugin for WebEx. Is it at all possible?
As far a i know they do not have such API. Maybe in the future. You might want to check out other platforms such as Zoom or Talkbox
The Webex API is currently limited to the following functionality:
User data management:
Sign up new user (creating user accounts)
Login/logout
Activate/deactivate users
Edit users
Meeting scheduling and registration:
Schedule/host/join/impromptu
Edit/delete
List/add/delete attendees
Create/get registration form
Register attendee
Manage and access the history of online sessions:
List/get usage history
List recorded access history
Integrate audio conferencing networks:
Synchronize meetings and audio conference network provisioning Adaptor-based plug-in architecture for supporting teleconferencing
bridge equipment
Coordinate call-in and call-out options for meeting users, and
notification of users entering/exiting the meeting
Support muting and dropping calls
If you are using React then you can use these (from official webex developer account)
All of these are for different use cases so please check all of them out before using one.
react-widgets
webex components
widgets
If you want to just use JS (or with any other framework) then check this one out:
plugin-meetings (Npm Link)
Or if you want full control over how to do things, then use webex js sdk
webex-js-sdk