Send feedback
User
Stay organized with collections
Save and categorize content based on your preferences.
JSON representation
{
"name" : string ,
"displayName" : string ,
"domainId" : string ,
"type" : enum (Type
) ,
"isAnonymous" : boolean
}
Fields
name
string
Resource name for a Google Chat user
.
Format: users/{user}
. users/app
can be used as an alias for the calling app bot
user.
For human users
, {user}
is the same user identifier as:
the {person_id
} for the Person in the People API, where the Person resourceName
is people/{person_id}
. For example, users/123456789
in Chat API represents the same person as people/123456789
in People API.
the id
for a user in the Admin SDK Directory API.
displayName
string
Output only. The user's display name.
domainId
string
Unique identifier of the user's Google Workspace domain.
type
enum (Type
)
User type.
isAnonymous
boolean
Output only. When true
, the user is deleted or their profile is not visible.
Type
Enums
TYPE_UNSPECIFIED
Default value for the enum. DO NOT USE.
HUMAN
Human user.
BOT
Chat app user.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-02-01 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?