EmbedContentBatch

@Serializable
data class EmbedContentBatch(val contents: List<Content>? = null, val config: EmbedContentConfig? = null)

Parameters for the embed_content method.

Constructors

Link copied to clipboard
constructor(contents: List<Content>? = null, config: EmbedContentConfig? = null)

Properties

Link copied to clipboard

Configuration that contains optional parameters.

Link copied to clipboard
val contents: List<Content>? = null

The content to embed. Only the parts.text fields will be counted.