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
3
votes
0 answers

Verify BEARER TOKEN Hangout chat bot API POST

I have setup a hangout chat bot and trying to verify that the request is coming from Google and is intended for the target bot. As per google documentation, it says you can verify using BEARER_TOKEN and "CHAT_ISSUER =…
jpmrr
  • 31
  • 1
3
votes
1 answer

How to Get message using Google Hangout chat spaces.message.get in Node js

I have Integrated Google Hangout chat for node js web application. I am able to get spaces, members in spaces, but I am not able to get Messages of space. I also referred documentation from below…
2
votes
0 answers

Google-Chat-API: Open dialog from posted message

I use bot to post cards with version 2 (сards_v2 property). Cards are rendered as normal, but I want to add a Button to open Dialog. This does not work. How can I achieve this? I post to POST /v1/chat/channels/:channel_id/messages? body: { …
2
votes
1 answer

How to find messages in google spaces using chat.api

I want to be able to pull all text messages from a google chat space. I'm looking at the spaces.messages.getbut it assumes you have the ID of a message. In similar programs (MS Teams), you can call an endpoint to list all message ID and then call…
user3447228
  • 478
  • 1
  • 4
  • 12
2
votes
1 answer

Create to auto-reply to every message in a space

I need create google chat bot (or find already existing bot) which would respond with a reply every time when a user creates a new thread in the space? As I found in the bot api, it looks like it only responds to the following 3 events…
Erii Asari
  • 165
  • 1
  • 2
  • 8
2
votes
1 answer

Google chat bot Mention user in space

I have a chatbot and I am trying to make the bot mention a user in a space. For example, we have: @googlechatBot Hello User said "@googlechatBot Hello" But I would like you to mention the user in the answer. Something like that @googlechatBot…
Gamaor
  • 85
  • 3
2
votes
1 answer

Are incoming webhooks available to all Google chat users or just users with Google Workspace access?

I am currently a free user of Google chat, and I am trying to set up an incoming webhook to send myself asynchronous messages (notifications) in a chat space. I have not been able to locate the "Manage webhooks" dialog in the chat space menu. Is the…
Isaac To
  • 679
  • 3
  • 17
2
votes
1 answer

How to send an image in Google Drive with Google Chat API without cards in Python

I have read all the documentation that Google offers in relation to the Google Chat Rest API which is here and here but it is not clear on how to send an image stored in Google Drive in a message. Google has no examples of this on GitHub either,…
2
votes
1 answer

How to send an Attachment in Google Chat via Bot/ Webhook

My organisation is using Google Chat for internal communication. In one of the group in the app I am sending the report of daily automation test run using webhook. Currently the report consist of only text message containing the pass/ fail…
2
votes
1 answer

How to add a user in Google Chat room (not Google group) using Chat API from Google App Script?

I want to make a workflow that whenever someone joins the organization, they are automatically added to an organization-wide room on Google Chat (not Google Group). In the Google Chat room, if you mention someone in your organization and if they are…
2
votes
0 answers

Google Chat Bot Not Sending Message to Chat

I set up a chatbot and it works, kinda. The email is sent when the slash command is used but other than that it does not send the card to the chat saying we received the request. What am I missing here? function createMessage(voter, voteCount,…
2
votes
0 answers

How to hide Hangout-chat-bot not responding message from user window?

I have used rest API to send google chat message "https://chat.googleapis.com/v1/spaces/xyz/messages/" with valid access_token and also getting proper response from my bot. But every time in sender message I get the message that "bot not responding,…
Ajay Singh
  • 21
  • 2
2
votes
1 answer

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

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)…
Nuri Engin
  • 813
  • 10
  • 38
2
votes
1 answer

hangouts-chat bot starting hangouts chat or rooms

I'm planning some kind of Google Hangouts bot/integration which is not following premises from code samples at: https://developers.google.com/hangouts/chat/concepts/ This won't be a "reply-bot" for incoming messages, it will start conversation-chats…
FranVall
  • 33
  • 4
1
vote
2 answers

is there any other way to authenticate the google chat APIs?

I am trying to list the spaces of google chat by using this particular API There are three ways to authenticate and call api Using API key Using OAuth Service account With API Key and Service account I am getting error curl --location…
1
2
3
10 11