Class TdApi.PageBlockPreformatted

Enclosing class:
TdApi

public static class TdApi.PageBlockPreformatted extends TdApi.PageBlock
A preformatted text paragraph.
  • Field Details

    • text

      public TdApi.RichText text
      Paragraph text.
    • language

      public String language
      Programming language for which the text needs to be formatted.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • PageBlockPreformatted

      public PageBlockPreformatted()
      A preformatted text paragraph.
    • PageBlockPreformatted

      public PageBlockPreformatted(TdApi.RichText text, String language)
      A preformatted text paragraph.
      Parameters:
      text - Paragraph text.
      language - Programming language for which the text needs to be formatted.
  • 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.Object
      Returns:
      this.CONSTRUCTOR