File

@Serializable
@SerialName(value = "file")
data class File(val file: ChatInputFile, val promptCacheBreakpoint: PromptCacheBreakpoint? = null) : ChatInputPart

Uploaded or inline file input.

Constructors

Link copied to clipboard
constructor(file: ChatInputFile, promptCacheBreakpoint: PromptCacheBreakpoint? = null)

Properties

Link copied to clipboard

File reference or inline bytes.

Link copied to clipboard
@SerialName(value = "prompt_cache_breakpoint")
val promptCacheBreakpoint: PromptCacheBreakpoint? = null

Optional explicit cache boundary after this part.