takes hangouts url from the response and sends a new message in the Mattermost channel with invitation to join the meeting.creates a new calendar event using Google Calendar API (with conference),.it handles POST request, which is meant to be received from Mattermost (triggered by a slash command),.oauth2 for authorising at google (single account).I found mattermost-hangout app on GitHub (had to update it a bit, so it works with updated api). In the API Library there's Google Calendar. I tried to approach it from another side: There's Google+ Hangouts API in API Library, but it says Apps will continue to function until April 25, 2017. I created a new application at Google APIs dashboard (here /apis), but can't find any docs for this integration. hangout_url - obviously, this is the url for the new created meeting.hangout_id - this is in the gd payload after my name.E1MDm4DWcuVa0RbK5ZT9o5KD - the last part of the gd payload.THTJ27X6W - this is the first part of the gd payload.If we breakdown the request, we can see that url contains some parts of the gd payload: Google meet somehow knows where to post back! Is this configured at the Google application (application id is provided via gid)? How can I configure my application for such behaviour? Where can I setup webhook url? a new message is posted to the Slack channel.a new POST request to is sent with form-data.This is some kind of payload, separated by pipes (obviously), but I don't know what any part of this means ( suren is my username in the Slack workspace, probably this is used for creating an invitation message). gd seems to be something like google data.gid seems to be something like google app id.Probably it's payload for Google Meet to trigger Slack to send a message with link to the channel. How can I utilise this integration for another app, like Mattermost (or anything else like Telegram chats via bots)?Īs I see, data in the url slightly changes. Join Hangout." and contains a link to the meet, which was created previously Text is Khorenyan has started a Google+ Hangout and would like you to join. when you click 'Post', a new message is sent to the Slack channel, where the command was sent.when you visit the link, a new meeting is started instantly, and the page shows modal with text "To bring others into this video call, post a link it to your Slack channel" with buttons 'Cancel' and 'Post'.it looks smth like this (I changed data in the link): slackbot sends an "Only visible to you" message in this channel with a link to start a new hangout. you send /hangout command in any Slack channel.Here's how it works (after you add the app in your workspace): Is there a way to configure my application to have a webhook, so I can generate these custom links? Links such as can be generated, so a modal is shown which can ask user's confirmation and then some request is sent from user's browser (where the Google Meet page is opened) to some endpoint (probably it is determined from gid which seems to be google application id). I want to utilise Google Meet api, which is used in Hangouts integration for Slack, description follows TL DR:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |