Microsoft Azure · Schema
Message files
A list of files attached to a `message`.
API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The identifier, which can be referenced in API endpoints. |
| object | string | The object type, which is always `thread.message.file`. |
| created_at | integer | The Unix timestamp (in seconds) for when the message file was created. |
| message_id | string | The ID of the [message](/docs/api-reference/messages) that the [File](/docs/api-reference/files) is attached to. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/messageFileObject",
"title": "Message files",
"type": "object",
"description": "A list of files attached to a `message`.",
"properties": {
"id": {
"description": "The identifier, which can be referenced in API endpoints.",
"type": "string"
},
"object": {
"description": "The object type, which is always `thread.message.file`.",
"type": "string",
"enum": [
"thread.message.file"
],
"x-ms-enum": {
"name": "MessageFileObjectType",
"modelAsString": true,
"values": [
{
"value": "thread.message.file"
}
]
}
},
"created_at": {
"description": "The Unix timestamp (in seconds) for when the message file was created.",
"type": "integer"
},
"message_id": {
"description": "The ID of the [message](/docs/api-reference/messages) that the [File](/docs/api-reference/files) is attached to.",
"type": "string"
}
},
"required": [
"id",
"object",
"created_at",
"message_id"
]
}