public static class TdApi.RichTextIcon extends TdApi.RichText
TdApi.RichText.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Document |
document
The image represented as a document.
|
int |
height
Height of a bounding box in which the image must be shown; 0 if unknown.
|
int |
width
Width of a bounding box in which the image must be shown; 0 if unknown.
|
Constructor and Description |
---|
RichTextIcon()
A small image inside the text.
|
RichTextIcon(TdApi.Document document,
int width,
int height)
A small image inside the text.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.Document document
public int width
public int height
public static final int CONSTRUCTOR
public RichTextIcon()
public RichTextIcon(TdApi.Document document, int width, int height)
document
- The image represented as a document. The image can be in GIF, JPEG or PNG format.width
- Width of a bounding box in which the image must be shown; 0 if unknown.height
- Height of a bounding box in which the image must be shown; 0 if unknown.public int getConstructor()
getConstructor
in class TdApi.RichText