google-chat

Google chat custom cards using dialogflow fulfilment webhook

社会主义新天地 提交于 2020-12-26 09:08:53
问题 I am trying to integrate DialogFlow bot with Hangouts Chat (for G Suite). I have enabled the integration on DialogFlow and the basic intents are working fine. In order to perform backend operations using fulfillment, I have created a firebase cloud function and added this as the webhook URL on DialogFlow fulfillment page. I have written the cloud function code to identify the intent, and to generate the Webhook response format for a simple text response. This is working, and I am seeing the

Google chat custom cards using dialogflow fulfilment webhook

荒凉一梦 提交于 2020-12-26 09:08:10
问题 I am trying to integrate DialogFlow bot with Hangouts Chat (for G Suite). I have enabled the integration on DialogFlow and the basic intents are working fine. In order to perform backend operations using fulfillment, I have created a firebase cloud function and added this as the webhook URL on DialogFlow fulfillment page. I have written the cloud function code to identify the intent, and to generate the Webhook response format for a simple text response. This is working, and I am seeing the

Is it possible to change `card` `width` of Google Chatbot?

点点圈 提交于 2020-06-28 05:40:25
问题 I was looking around to change card width created by Google Chatbot but as far I see there is no any config within Chatbot API. Is it possible to set an attribute somehow? My current Card class ; class Card { constructor(title, subtitle, imgUrl) { this.sections = []; this.cardObject = { "cards": [ { "header": {"title": title, "subtitle": subtitle, "imageUrl": imgUrl}, "sections": this.sections } ] }; } } and those are Hangouts Chat API s I've looked for now but no information about customise

Hangout bot how to @mention user in a card message

守給你的承諾、 提交于 2019-12-11 17:22:15
问题 I've created a bot that is supposed to inform users from a group about the tasks they were assigned to. It is working well with the simple message using but it's not working once put in a card message - I got "---" or "???" instead of mention. I tried to put it in different widgets: keyValue, textParagrap or header but it doesn't change anything. Does anyone know if it's possible at all? 回答1: A review of the API description should have confirmed your suspicions - at this moment, you cannot