Part は、コミュニケーション コンテンツのセクションのコンテナを表します。パーツは、純粋なテキスト、何らかのファイル(画像、動画など)、構造化データ BLOB(JSON など)にすることができます。
| JSON 表現 |
|---|
{ "metadata": { object }, "filename": string, "mediaType": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "text": string, "raw": string, "url": string, "data": value // End of mutually exclusive fields. } |
| フィールド | |
|---|---|
metadata |
省略可。この部分に関連付けられたメタデータ。 |
filename |
ファイルのオプションの |
mediaType |
パート コンテンツの |
| 以下は、相互に排他的なフィールドのリストです。レスポンスに設定されるフィールドは、最大 1 つです。 | |
text |
|
raw |
ファイルの Base64 でエンコードされた文字列。 |
url |
ファイルの内容を指す |
data |
任意の構造化された |
| 相互に排他的なフィールドの終わり。 | |