Package org.drinkless.tdlib
Class TdApi.RichTextIcon
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.RichText
-
- org.drinkless.tdlib.TdApi.RichTextIcon
-
- Enclosing class:
- TdApi
public static class TdApi.RichTextIcon extends TdApi.RichText
A small image inside the text.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.DocumentdocumentThe image represented as a document.intheightHeight of a bounding box in which the image must be shown; 0 if unknown.intwidthWidth of a bounding box in which the image must be shown; 0 if unknown.
-
Constructor Summary
Constructors Constructor Description RichTextIcon()A small image inside the text.RichTextIcon(TdApi.Document document, int width, int height)A small image inside the text.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
document
public TdApi.Document document
The image represented as a document. The image can be in GIF, JPEG or PNG format.
-
width
public int width
Width of a bounding box in which the image must be shown; 0 if unknown.
-
height
public int height
Height of a bounding box in which the image must be shown; 0 if unknown.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RichTextIcon
public RichTextIcon()
A small image inside the text.
-
RichTextIcon
public RichTextIcon(TdApi.Document document, int width, int height)
A small image inside the text.- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-