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
A small image inside the text.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The image represented as a document.intHeight of a bounding box in which the image must be shown; 0 if unknown.intWidth of a bounding box in which the image must be shown; 0 if unknown. -
Constructor Summary
ConstructorsConstructorDescriptionA small image inside the text.RichTextIcon(TdApi.Document document, int width, int height) A small image inside the text. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
document
The image represented as a document. The image can be in GIF, JPEG or PNG format. -
width
public int widthWidth of a bounding box in which the image must be shown; 0 if unknown. -
height
public int heightHeight of a bounding box in which the image must be shown; 0 if unknown. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
RichTextIcon
public RichTextIcon()A small image inside the text. -
RichTextIcon
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 Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-