By following the steps given in this link https://developers.google.com/+/quickstart/csharp, google plus automatically sign in with the help of gplus-quickstart-csharp code provided in that link. Now i want to send message to google hangout using the above API(Code) I checked this link https://developers.google.com/+/hangouts/api/gapi.hangout.data#gapi.hangout.data.onMessageReceived
In that sendMessage(message) available, how can i implement that method to my C# code.
Any ideas???
The Google Chat REST API provides programmatic, RESTful access to Chat resources like messages, spaces, and attachments. To call the Google Chat REST API, authenticate with user or service account credentials. For details, see the reference documentation or go directly to the documentation for specific methods: spaces.
To create an inline code block, add backticks ` before and after the text you want in a code block. To create a multiline code block, add three backticks ``` before and after the text you want in a code block.
The Hangouts API is only valid for Hangout Apps that are running inside a Hangout Video Call. It is meant for app-to-app communication and not for external processes to be able to communicate with a Hangout App.
Hangout Apps can only be written in JavaScript, since they are run inside the browser.
If you are trying to send a message to someone via a Hangout Text Chat - this currently isn't possible. You may wish to open an issue at https://code.google.com/p/google-plus-platform/ to make sure Google is aware of the desire and use-cases for this feature.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With