Source

@SerialName(value = "source")
class Source(val sourceType: StreamEvent.SourcePart.SourceType, val sourceId: String? = null, val url: String? = null, val title: String? = null, val providerMetadata: ProviderMetadata = ProviderMetadata.None, val mediaType: String? = null, val filename: String? = null) : ContentPart(source)

Since

0.3.0-beta01

Constructors

Link copied to clipboard
constructor(sourceType: StreamEvent.SourcePart.SourceType, sourceId: String? = null, url: String? = null, title: String? = null, providerMetadata: ProviderMetadata = ProviderMetadata.None, mediaType: String? = null, filename: String? = null)

Properties

Link copied to clipboard

Optional display name of a document source.

Link copied to clipboard

Media type of a document source (e.g. application/pdf).

Link copied to clipboard
Link copied to clipboard

Provider's stable handle for the source so repeated mentions can be deduped;

Link copied to clipboard
Link copied to clipboard
val url: String?