格式:users/{user},其中 {user} 是 People API 中 person 的 id,或是 Directory API 中 user 的 id。舉例來說,如果 People API 個人資料 ID 是 123456789,您可以使用 users/123456789 做為 name,找出與該使用者進行即時訊息對話的資料。以使用者身分驗證後,您可以使用電子郵件做為 {user} 的別名。例如 users/example@gmail.com,其中 example@gmail.com 是 Google Chat 使用者的電子郵件地址。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-11-12 (世界標準時間)。"],[[["Retrieves the existing direct message with a specified user or Chat app, returning a 404 error if none is found."],["Supports both app authentication and user authentication for finding direct messages."],["Requires providing the resource name of the user in the `name` query parameter using specific formats."],["Uses a `GET` HTTP request to the `https://chat.googleapis.com/v1/spaces:findDirectMessage` endpoint with gRPC Transcoding syntax."],["Needs authorization with specific OAuth scopes like `chat.spaces`, `chat.spaces.readonly`, or `chat.bot`."]]],[]]