Questions tagged [google-chat]

Use for programming question related to Google Chat (https://chat.google.com)

Do not confuse with Google Hangouts (https://hangouts.google.com)

Use for programming questions related to Google Chat (https://chat.google.com)

Questions about general usage might be asked in the official community https://support.google.com/chat

Questions about general usage about the web application (https://chat.google.com) might be asked in https://webapps.stackexchange.com

Questions about general usage about the Android application migth be asked in https://android.stackexchange.com

Related tags:

Do not use with

  • as this tag corresponds to a API that is deprecated.
164 questions
0
votes
1 answer

Is it possible to duplicate a google space (Formally, google rooms)

Via Chat API or otherwise, is it possible to duplicate a google space? I have a 'template' space set up that has many tasks attached to it. For each 'Job' I bring on in my small business, I want to create a Google Space for it and have the tasks…
Bjaeg
  • 338
  • 2
  • 14
0
votes
1 answer

Integration: ActiveCampaign to Zapier to Google Chat

I can create an integration in zapier that will notify me via google chat when I have a new lead that completes a form on activecampaign. However, it's just a simple notification on google chat from a zap bot. I would like the info that is…
0
votes
1 answer

Unable to Deserialize a class using Gson or Jackson

I am trying to deserialize a json string to Card.class and I am unable to do it. Card card =new Card(); card.setHeader(new CardHeader().setTitle("HelloWorld")); Section section=new Section().setWidgets(Collections.singletonList(new…
0
votes
1 answer

How to get response data from google-chat webhook?

I'm following the following example: const fetch = require('node-fetch'); const webhookURL = ''; const data = JSON.stringify({ 'text': 'Hello from a Node script!', }); fetch(webhookURL, { method: 'POST', headers: { …
0
votes
1 answer

Google chat: Invalid JSON payload received. Closing quote expected in string.\n\n^

I am trying to send a google chat message using bash script. When I define a local variable or using simple text, it works. But when I source a file, and use variables defined in that file, I get error. This works: #!/bin/bash MSG="Data" curl -H…
0
votes
1 answer

How to send local image to chat using incoming webhook

Facing issue while send the local image to google chat room using web hook. attachment = open("images.jpg", "rb") bot_message = {"cards": [{ "sections": [{"widgets": [{"image": attachment}]}]}]} print (bot_message) message_headers = {'Content-Type':…
0
votes
1 answer

Create a dialog in google chat

I have followed the documentation provided by google https://developers.google.com/chat/how-tos/bot-dialogs but cannot figure out how to respond correctly to the "REQUEST_DIALOG" event. Here is what I did so far: I created a new slash command with…
456q
  • 107
  • 11
0
votes
1 answer

Where is the configuration tab for naming a Google Chat Bot so that it can be referenced by Chat users?

Trying to follow these instructions but can't find the configuration tab.. https://developers.google.com/chat/how-tos/bots-publish#enable_the_google_chat_api_formerly_hangouts_chat_api I'm right at the last instruction - "4. Select the Configuration…
ChaPPer5
  • 95
  • 1
  • 8
0
votes
0 answers

Get complete text of a truncated tooltip using javascript in chrome devtools

I am trying to fetch the complete list of users who have liked a post/comment in googleChat webapp. Right now, when you hover on the "like/thumbs up" icon, a tooltip shows only 10 names and rest are truncated with ellipsis with a count. I want to…
0
votes
1 answer

What is the Characater limit of Google Chat message

Is there any way to increase the character limit of google chat API message I am looking for a way to increase the character limit of the message.
nanavinay
  • 1
  • 3
0
votes
1 answer

Cloud Function triggered by Pub Sub doesn't publish expected message

I have the following google cloud function: def run_msg(event, context): print(event["data"]) url = 'google_chat_hook' bot_message = { 'text' : '{}'.format(event["data"])} message_headers = { 'Content-Type':…
Simon Breton
  • 2,638
  • 7
  • 50
  • 105
0
votes
0 answers

Accessing the Gmail mailbox by bot written in Apps Script

I am creating a Google Chat bot using Apps Script. It has to check every x minutes my team's mailbox for some upcoming messages. I used a Gmail service to achieve this functionality. Is there any option to that the function that is responsible for…
0
votes
1 answer

In Dialogflow, How to deal with multiple entities having the same reference values?

I have 2 entities Entity A and Entity B. Entity A has a reference value called Walmart and Entity B also has a reference value called Walmart. Now when a user enters 'Show me sales for Walmart', and I want the bot to get me sales for the Walmart…
0
votes
1 answer

Where does the API call from the interactive card in Google Chat go?

I am trying to replicate examples from the Google Docs about Creating interactive cards in Google Chat. I have created a sample link in my card. Sample card with a link "click me" But once I hit "click me" I have no idea where the request goes and…
0
votes
1 answer

Google hangout chat data with out bot

Is there a way to read the data from the chat messages in DM or Group with out adding the bot the DM or Group? Similar to the APIs that are available to programmatically access the google drive, is there a way ?