Class TdApi.RichTextIcon

Enclosing class:
TdApi

public static class TdApi.RichTextIcon extends TdApi.RichText
A small image inside the text.
  • Field Details

    • 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:
  • Constructor Details

    • 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 Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.RichText
      Returns:
      this.CONSTRUCTOR