Is it possible for a Microsoft Teams bot to download a meeting transcript? - microsoft-graph-teams

I'm trying to figure out whether it's possible for a bot to download a Teams meeting transcript. If I start recording/transcription for a call/meeting, the transcript appears interspersed with the meeting chat after the call is complete (along with the recording link). If I use the new recording storage options (to store to OneDrive), then I can retrieve the a/v recording from the OneDrive storage, but I'm not sure how I can get at the transcript. If I look at the meeting chat in Teams, the transcript and recording are listed there, but they're not actually chat messages. If you call something like this:
https://graph.microsoft.com/beta/me/chats/19%3Ameeting_ZDdlMjA3OGYtNmFlOC00OTIxLTlhODYtNDRlMmNjNjQ4ZWQ1%40thread.v2/messages
You'll get the chat messages in the meeting thread, which does not include the anchor for the recording/transcript download. Looking closer, it appears that this is listed as an "event" in the conversation, similar to a participant add/remove, but I haven't been able to find a graph API call that will let you audit those types of events. Is there a currently a way to retrieve a call transcript using a graph API call?

Related

Telegram API: How to make message history for new group users visible

I want to make message history for new group users visible. For now I have managed to find channels.togglePreHistoryHidden method in the API but it takes channel as an argument, not a group. There is no similar method for groups. Moreover, as far as I know there is no such option to hide message history for channels in telegram so i'm a bit confused. Could anyone explain me how should I do this. Code snippet in telethon would be greate.

How to create a Room using api in Mesibo

How to create a room using rest API in mesibo so that we can generate the room id and secret and send it to users. Basically, the use case is
I want to use mesibo for the tutoring sessions. So we need a way to be able to create a link within the tutoring app that will bring the user directly into the correct conference. The Mesibo demo currently asks for the person's name, room number, etc. We don't want any questions asked. It should go straight from the application portal to the Mesibo conference. So the link can contain the encrypted information about the conference, such as the person's name, the room number, and the start time. Once the tutoring session is over, the links should stop working; each link should be good for only that one conference, and it should expire after.
I have successfully created the create user, regenerate user token, create group API I want to move forward to create room and let people join it.
Let me know if that's a possible cause in the documentation it's not mentioned anywhere.
a conference room is a mesibo group. The participants are members of a group. To create a conference room, you essentially need to create a mesibo group and add participants to it. Refer to the documentation here, it has one entire section on creating room using APIs
https://mesibo.com/documentation/api/conferencing/

Find out when user followed an account - rtweet

I'm curious to see when accounts started following me on Twitter (and when I started following accounts). It'd be interesting to see my user activity related to the types of accounts I follow, as well as maps of my followers/followings over time + season.
I've tried getting followers and lookup users in the following manner:
followers <- get_followers("twitterhandlehere", n = 50)
followers_data <- lookup_users(followers$user_id)
Followers_data is a data frame with user info including profile picture, bio, and when the user's account was created, but no where in there does it indicate when the relationship started, as far as I can tell.
Nor does this function seem to indicate the date in which the follow/following started:
lookup_friendship("BarackObama", "MyUsername")
It appears the API didn't support this functionality in the past, and I understand I can stream this data in the future - but is there any way to salvage specificity in the past data?
No, this is not available in the API. You would have to have been regularly polling the friends and followers endpoints to record those changes. You cannot discover it from the API at a specific point in time, you'd have to make the record of follower list changes youself.

How do I chain two Apify actors?

I need to scrape an URL list obtained by a Google search, using the Apify platform.
My plan is to start from a Google Search Scraper Actor task. However I don't think it can be used to scrape anything else than the Google search results (maybe I'm wrong ?). Therefore I need to provide its output to another Actor task, e.g. a Web Scraper or a Puppeteer Scraper.
But I can't seem to find the documentation related to the chaining of Actors. How should I proceed ?
Update :
I found How to pass data from crawler to actor, and setting an ACTOR.RUN.SUCCEEDED webhook on the Run task API endpoint of the second actor seems to work (that is, the second actor is launched).
However I can't seem to find how to pass the first actor's dataset to the second actor : the Start URLs field being mandatory I guess I should set it to the dataset, however the dataset link is different for each run…
You can chain multiple actor runs either via the Metamorph feature, or using Webhooks.
Metamorph
Metamorph allows you to run an actor and while the actor is running, "morph" it into a different actor with a custom input. The original actor will be stopped and replaced by the second one, but both will use the same storages, have the same run ID and will be displayed as a single actor run in the Apify app. You can use metamorph multiple times in a single run.
You can find the documentation for Metamorph here.
Webhooks
Webhooks allow you to call an arbitrary API endpoint once an actor reaches a given status, for example: SUCCEEDED. You can use this to call the Run Actor API to start another actor. You can set a custom payload for the webhooks, however, at this moment, passing output directly as webhook payload is not supported, so you'll need to use the ID of a key value store or dataset, where your results are stored and read it from there.
See the Webhooks docs here.
For example, to get the IDs of both key value store and dataset of the original actor, you would configure a payload like this:
{
"datasetId": {{resource.defaultDatasetId}},
"keyValueStoreId": {{resource.defaultKeyValueStoreId}}
}
Passing data from Google Search Scraper to Web Scraper
The task is not trivial because the Google Search output format is not compatible with the Web Scraper input format. The best way to do this is to create an intermediary actor that uses the output from Google Search Scraper to produce an input for Web Scraper and then metamorph into it. So the final flow is:
Google Search Scraper --webhook--> Output Processor Actor --metamorph--> Web Scraper.

how to check how many token been sold for my Smart contract

I want to create a smart contract and launch it for ICO. I also create a website where people can buy my token. I want know how to check how many token been sold (live)? so i can create a live bar counter to show how many percentages of the token already been sold.
Or is there a way i can monitor the token sale process in the smart contract?
A token contract is no different than any other smart contract. There are no special built in Solidity features or logic associated with them. They are just regular smart contracts that follow a specification.
So, if you want access to the number of tokens sold, you code that into your contract. While tokens sold is not part of the standard ERC20/ERC721 interface, nothing prevents you from adding a constant function to retrieve this information. In fact, if you're using the basic Zeppelin Crowdsale contract, you can just calculate it using the public state variables weiRaised / rate (Chances are you should be creating your own Crowdsale subcontract, so it's better to add the functionality you want there).
We can use the Etherscan Developer API to review transactions against a given contract address and find out the total supply or number of items available for sale.
There is a lot you can do with the Etherscan Developer API. For example, here's one URL that pulls data from Ethereum Mainnet -> Etherscan -> JSON parser -> Shields.io and renders it as an image to calculate the number of Su Squares remaining for sale:
Source: https://img.shields.io/badge/dynamic/json.svg?label=Su+Squares+available&url=https%3A%2F%2Fapi.etherscan.io%2Fapi%3Fmodule%3Daccount%26action%3Dtokenbalance%26contractaddress%3D0xE9e3F9cfc1A64DFca53614a0182CFAD56c10624F%26address%3D0xE9e3F9cfc1A64DFca53614a0182CFAD56c10624F%26tag%3Dlatest%26apikey%3DYourApiKeyToken&query=%24.result
^ I don't know if SO is going to cache the image here. But that URL is a live URL which pulls the number of Su Squares available hot off the blockchain.

Resources