Attributes
- Companion
- trait
- Source
- ContentPart.scala
- Graph
-
- Supertypes
- Self type
-
ContentPart.type
Members list
Type members
Classlikes
A document - a PDF, text, Markdown, HTML or CSV file; build one with ContentPart.document.
A document - a PDF, text, Markdown, HTML or CSV file; build one with ContentPart.document.
Attributes
- Source
- ContentPart.scala
- Supertypes
-
trait ContentParttrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An image; build one with ContentPart.image.
An image; build one with ContentPart.image.
Attributes
- Source
- ContentPart.scala
- Supertypes
-
trait ContentParttrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Text. A message whose every part is blank text is refused by Message.validate. A null text is read as empty when the part is built, so no code that reads a part - validation, a codec, a provider's encoder - has to guard against it.
Text. A message whose every part is blank text is refused by Message.validate. A null text is read as empty when the part is built, so no code that reads a part - validation, a codec, a provider's encoder - has to guard against it.
Attributes
- Companion
- object
- Source
- ContentPart.scala
- Supertypes
-
trait ContentParttrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
A document from source, checked as described on ContentPart.
An image from source, checked as described on ContentPart.
The number of inline bytes parts carry, in total.
Whether part is an image or a document.
The text parts of parts, joined by newlines: a message's text view. Empty when there are none.
The text parts of parts, joined by newlines: a message's text view. Empty when there are none.
Attributes
- Source
- ContentPart.scala
Concrete fields
The bound on an inline part's bytes: 5 MiB. One bound for every part, wherever it is built - a smart constructor or the codec reading stored or imported JSON - so no part over it can exist.
The bound on an inline part's bytes: 5 MiB. One bound for every part, wherever it is built - a smart constructor or the codec reading stored or imported JSON - so no part over it can exist.
Attributes
- Source
- ContentPart.scala
Implicits
Implicits
Attributes
- Source
- ContentPart.scala
