Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- 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
- 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
- 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
- Supertypes
-
trait ContentParttrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
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.
The number of inline bytes parts carry, in total.
Attributes
Whether part is an image or a document.
Whether part is an image or a document.
Attributes
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
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.