Skip to content

RichTextIcon

Type · TDLib 1.8.67 · d1085f9c

A small image inside the text; instant view only

RichTextIcon(
  document: Document,
  width: int32,
  height: int32
) → RichText

document

Document

The image represented as a document. The image can be in GIF, JPEG or PNG format

width

int32

Width of a bounding box in which the image must be shown; 0 if unknown

height

int32

Height of a bounding box in which the image must be shown; 0 if unknown