1

Currently I can grab the list of rooms the bot is in with chat.spaces.list()

But is it possible to get the list of spaces for a specific user and could someone provide an example of how this could be done?

Thank you!

terri
  • 11
  • 2

1 Answers1

1

This is the way for you to see the displayName on Google Chat API:

First, click on list under REST Resource: v1.spaces.members enter image description here

Next, under Response Body, click on Membership enter image description here

Next, under Resource:Membership, click on User enter image description here

Then lastly, under User, you can already see the displayName parameter enter image description here

Reference link:

https://developers.google.com/hangouts/chat/reference/rest#rest-resource:-v1-.spaces.members

Monique G.
  • 239
  • 1
  • 6