MSMessageTemplateLayout. At least one of caption, subcaption,
trailingCaption, trailingSubcaption, or image must be set;
an entirely empty layout renders as a blank bubble and is rejected.
Slot map: caption / subcaption render on the left,
trailingCaption / trailingSubcaption render on the right, and
imageTitle / imageSubtitle overlay image.
image and imageTitle must be set together; imageSubtitle
requires image.
Properties
string
Top-left, bold. The most prominent text slot.
Uint8Array<ArrayBufferLike>
JPEG preview image bytes.
string
Overlay text shown below
imageTitle. Requires image.string
Overlay text shown above the image. Must be set together with
image.string
Below
caption, on the left.string
Fallback text for surfaces that cannot render the full card.
string
Top-right.
string
Below
trailingCaption, on the right.