0

I am pretty new to Hangout concept. I have implemented various bot using Microsoft Bot framework. This time I need to implement and publish a Google Hangout Bot using this link. As Azure yet not provide Google hangout channel for Bot.

As per this documentation when I publish the Bot, It should be available to domain users to discover this Bot. But somehow I am not able to discover in Hangout. Initially I want to just be able to publish a default Bot and make it available to all users in domain and in chat room.

I think I am missing something here.

Things I have tried is just created an Bot in Microsoft Bot framework and published using this link.

Community
  • 1
  • 1
Planet-Zoom
  • 1,005
  • 2
  • 9
  • 20
  • Why would a bot made with Microsoft Bot Framework work magically by just referencing its api endpoint on Google Hangout side? There is no magic there, MS Bot Framework does not match exactly what Google is using to communicate between Hangout and a bot, so you can't do that just like that. As Amit said in a reply, you have to make a connector if you want that the both sides understand each other – Nicolas R May 02 '18 at 12:00
  • @NicolasR , I am not sure how I would make a connector and how to use it in the flow.. – Planet-Zoom May 02 '18 at 12:12
  • Honestly it's not so easy and i would not suggest that you try. For me MS bot framework is not made to target Hangout (at least at the moment), so you should not use it for your need here – Nicolas R May 02 '18 at 12:14
  • @NicolasR, Yes , you are right - MS bot framework is not made to target Hangout. I am trying to implement my own node.js server API to serve the purpose. And for this also I will need to create a connector. But not sure - How?. Thanks :) – Planet-Zoom May 02 '18 at 13:07
  • I can't help you more on that sorry, I'm not working on Hangout – Nicolas R May 02 '18 at 13:09

1 Answers1

1

You'll need to create a connector/bridge to the hangouts API. Take a look at the interface on the docs Interface IConnector

You can choose whether to use the DirectlineAPI or create the connection on your own.

See an example of an implementation for line on this repo

Besides, you should make sure you have all the configurations ready on Google's side (the instructions are on the link you've posted)

Amit be
  • 469
  • 3
  • 13
  • Thanks Amit, Surely this will helpful while starting conversation between Bot and user. Right now I am stuck as I could not discover the published bot in my Hangout chat window. I followed all instructions on the link.. – Planet-Zoom May 02 '18 at 09:58
  • I would suggest sending an email to Google's support, it's a new platform so bugs might still exist – Amit be May 03 '18 at 10:18