Relative Content

Tag Archive for google-chat

Chat API’s spaces.messages.list ‘s response doesn’t contain “threadReply” bool flag

When I fetch a specific messages using chat api’s spaces.messages.get endpoint, its response contains a threadReply boolean flag to indicate if its a reply or first message. Apparently, it doesn’t come with the messages in response to spaces.messages.list. Am I missing something or is requesting a get for each message in list‘s response the only way to get this ?

Is it possible to quote a message using the chat-api?

I’m trying to import some data to google chat using the chat API, but searching in the documentation i could’nt find a way to create a message quoting a previous message in the chat. Accordingly to the API, the Message resource has an attribute called “quotedMessageMetadata” but this is an output only property, and the method used to create message doesn’t accept any argument indicating the message quoting.