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 真人代表,