Need assistance on integrating servicenow to MS Teams - rest

Can anyone please let me know the Microsoft Team API where i can POST a message from Servicenow to Microsoft Team

Please take a look at Proactive messaging for bots and Connectors documentation. Connectors can be used to send message only in a channel.
You can also use Create chatMessage in a channel Graph API which creates a new chatMessage in the specified channel.

Related

Slack chatbot connecting to Bubble database

Is it possible to have a Slack bot that passes information to and from a Bubble app, such that replying to the bot serves as data input for the database, and the bot can retrieve information from the database to answer queries in the Slack channel. Possibly with Zapier?
Reading the info on Slack website about how to build a slack bot: https://api.slack.com/authentication/basics
Knowing Bubble has a database to store and retrieve data AND can receive API calls (webhooks) and call API's it should be possible to use Bubble and Slack to create a functioning Slack Bot.

How can you set Skype for Business status when in a Teams call automatically?

I've hit a wall so I'm asking my favorite community. I created custom Skype for Business activity statuses for Teams so when you are in a Teams call, you can manually set your status in SfB to "In a Teams Call". After searching for many days, i still have not found a way to auto set this status. Is there maybe a plugin for SfB or a service to run for this feature? This is for SfB (On-Prem). I primarily script in PowerShell but any guidance would be very appreciated.
#John, Microsoft Teams replaces Skype for Business Online as Microsoft’s professional online meeting solution. For more information on this please check this document.
To get/set up user status, you can use Presence Graph API's. For more information on Presence Graph API, please check this API docs
I created a windows service to check my Teams presence using the Graph API. If it returns InACall, I use Skype for Business Modules to set my activity to In-A-Call.
Sample code:
https://schmalhorstorg.blogspot.com/2020/04/powershell-set-skype-for-business.html

In which format I should send http POST to Bot Builder?

I was trying to built a bot which interacts with multiple users.
The Microsoft Bot Builder seems nice to me.
I followed their examples and tried them out.
Bot Builder Restify and so on
There are few things which are not clear to me.
How can I post a message to bot rest endpoint?
The emulator seems to have been taking care of such details. But in a real application, in which format i should sent a message?
How does the bot interacts with multiple users? In the emulator, there is only one user, what happens if there are several persons talk to the bot at the same time in a real application?
I think "chatconnector" somehow doing the job, but I am not sure.
I hope someone could point out examples or give answers below to clarify these to me.
Thanks in advance!
1) Messages are sent using industry-standard REST and JSON over HTTPS. Although you can call the bot's endpoint directly, this would bypass channels and security. In the Microsoft Bot Framework architecture, clients communicate with a channel connector and the channel connector calls the bot. When the bot responds, it sends a message to the channel connector and the connector calls the client. The channel connectors transform messages from the channel's specific schema to the Bot Framework's generic activity schema and back. They also verify that callers are authorized using JWT tokens.
This documentation on Authentication might help clear things up some: https://learn.microsoft.com/en-us/bot-framework/rest-api/bot-framework-rest-connector-authentication
2) Group conversations are handled differently, depending on the channel. This sample demonstrates some of the group conversation features in the Bot Builder Node sdk: https://github.com/Microsoft/BotBuilder-Samples/tree/master/Node/core-GetConversationMembers

where are questions for a Microsoft Azure QnA bot stored?

I run a QnA bot (Animal-Rights-Bot) that answers questions via skype or email but there is a discrepancy between the number of questions shown in the Azure dahsboard and the bot mailbox. I`m wondering where I find those questions that were sent to the bot in Skype and per Mail.
You get all the chatlogs from QnAMaker in the test tab on the portal. There is a download chat logs link.
Every knowledge base content is stored in Azure storage by the QnAMaker tool. You need a combination of knowledge base id and subscription key to access the knowledge base. The knowledge base contents are not used by the tool for any other purpose.
Here is the API reference documentation for the the QnA maker . you can use them to programmatically query the knowledge base.
https://qnamaker.ai/Documentation/ApiReference

Microsoft Office Communicator Automation API 2007 and Receiving Instant Messages

Does anyone know how to read the contents of an instant message?
If you are using the Communicator Automation API (as opposed to the Unified Comms Client API), and want to get the conversation text history from the conversation window, then George Durzi has an excellent blog post on this.
The basic idea is that you capture the OnIMWindowCreated event, then poll the History property of the window, looking for changes.