2024 年 7 月 31 日をもって、Google ビジネス メッセージはご利用いただけなくなります。詳しくは
こちらをご覧ください。
Representative
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
メッセージを送信した担当者(人間または chatbot)に関する詳細。
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
省略可。担当者のアバター画像(一般公開 URL)。円で表示されます。 アバター画像では、代表者が写っている写真やイラストなど、個人情報は使用できません。アイコン、ロゴ、架空のイラストなど、個人を特定できない画像を使用してください。メッセージに使用したアバター画像の変更や削除はできません。 画像は 1,024 x 1,024 ピクセルで、ファイルサイズは最大 50 KB です。
|
共用体フィールド representative 。タイプによって識別される代表者。representative は次のいずれかになります。 |
representativeType |
enum (RepresentativeType )
必須。代表者のタイプ。
|
RepresentativeType
列挙型 |
REPRESENTATIVE_TYPE_UNSPECIFIED |
指定されていない代表的なタイプ。 |
BOT |
bot 担当者 |
HUMAN |
人間の代表。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-10-10 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-10-10 UTC。"],[[["This document details the JSON structure for providing information about the representative (human or chatbot) sending a message."],["The structure includes fields for display name, avatar image, and representative type (bot or human)."],["The avatar image should be a publicly accessible URL, ideally an icon or logo, with specific size and format restrictions."],["The `representativeType` field is required and indicates whether the sender is a bot or a human."]]],[]]