Updates: Check the release notes for new features and product updates.

Representative

Details about the representative (human or chatbot) that sent the message.

JSON representation
{
  "displayName": string,
  "avatarImage": string,
  "representativeType": enum (RepresentativeType)
}
Fields
displayName

string

Optional. Name of the representative.

avatarImage

string

Optional. The representative's avatar image, as a publicly available URL. Displays as a circle.

Avatar images don't support personal information, such as depictions of representatives in photographs or illustrations. Use images that don't identify individuals, such as icons, logos, or fictitious illustrations. After an avatar image is used in a message, the image can't be modified or deleted.

Images must be 1024x1024 px and have a maximum files size of 50 KB.

representativeType

enum (RepresentativeType)

Required. The type of representative.

RepresentativeType

Representative type

Enums
REPRESENTATIVE_TYPE_UNSPECIFIED Unspecified representative type.
BOT Bot representative.
HUMAN Human representative.