次の方法で共有


AssistantsModelFactory.MessageFile(String, DateTimeOffset, String) Method

Definition

Initializes a new instance of MessageFile.

public static Azure.AI.OpenAI.Assistants.MessageFile MessageFile (string id = default, DateTimeOffset createdAt = default, string messageId = default);
static member MessageFile : string * DateTimeOffset * string -> Azure.AI.OpenAI.Assistants.MessageFile
Public Shared Function MessageFile (Optional id As String = Nothing, Optional createdAt As DateTimeOffset = Nothing, Optional messageId As String = Nothing) As MessageFile

Parameters

id
String

The identifier, which can be referenced in API endpoints.

createdAt
DateTimeOffset

The Unix timestamp, in seconds, representing when this object was created.

messageId
String

The ID of the message that this file is attached to.

Returns

A new MessageFile instance for mocking.

Applies to