AI-generated Key Takeaways
-
The representative sending a message can be identified as either a human or a chatbot.
-
Details about the representative, such as their display name, avatar image, and type, can be provided.
-
The avatar image must be a publicly available URL, 1024x1024 px, under 50 KB, and should not contain personal information.
Details about the representative (human or chatbot) that sent the message.
| JSON representation |
|---|
{ "displayName": string, "avatarImage": string, // Union field |
| Fields | |
|---|---|
displayName |
Optional. Name of the representative. |
avatarImage |
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. |
Union field representative. A representative, identified by its type. representative can be only one of the following: |
|
representativeType |
Required. The type of representative. |
RepresentativeType
Representative type
| Enums | |
|---|---|
REPRESENTATIVE_TYPE_UNSPECIFIED |
Unspecified representative type. |
BOT |
Bot representative. |
HUMAN |
Human representative. |