User

Stay organized with collections Save and categorize content based on your preferences.

A user in Google Chat.

JSON representation
{
  "name": string,
  "displayName": string,
  "domainId": string,
  "type": enum (Type),
  "isAnonymous": boolean
}
Fields
name

string

Resource name for a Google Chat user. Represents a person in the People API or a user in the Admin SDK Directory API. Formatted as: users/{user}

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.