Representative

发送消息的代表(人工或聊天机器人)的详细信息。

JSON 表示法
{
  "displayName": string,
  "avatarImage": string,

  // Union field representative can be only one of the following:
  "representativeType": enum (RepresentativeType)
  // End of list of possible types for union field representative.
}
字段
displayName

string

可选。代表的姓名。

avatarImage

string

可选。代表的头像图片(作为可公开访问的网址)。显示为圆形。

头像图片不支持个人信息,例如照片或插图中的代表人物。使用无法识别个人身份的图片,例如图标、徽标或虚构插图。在消息中使用头像图片后,您将无法修改或删除该图片。

图片必须为 1024x1024 像素,且文件大小不得超过 50 KB。

联合字段 representative。根据类型标识的代表。representative 只能是下列其中一项:
representativeType

enum (RepresentativeType)

必需。代表的类型。

RepresentativeType

代表人员类型

枚举
REPRESENTATIVE_TYPE_UNSPECIFIED 未指定的代表类型。
BOT 聊天机器人代表。
HUMAN 人工代表。