Method: spaces.members.get

透過集合功能整理內容 你可以依據偏好儲存及分類內容。

傳回成員。

需要驗證。完整支援服務帳戶驗證

支援使用者驗證,這是 Google Workspace 開發人員預覽計劃的一部分,可讓使用者搶先體驗特定功能。使用者驗證需要 chat.membershipschat.memberships.readonly 授權範圍。

HTTP 要求

GET https://chat.googleapis.com/v1/{name=spaces/*/members/*}

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
name

string

必要欄位。要擷取的成員資格資源名稱。

格式:Spaces/{space}/members/{member}

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體會包含 Membership 的執行例項。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/chat.bot
  • https://www.googleapis.com/auth/chat.memberships
  • https://www.googleapis.com/auth/chat.memberships.readonly

詳情請參閱授權指南