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
      See Also:
      Constant Field Values
  • Constructor Details

    • PageBlockPreformatted

      public PageBlockPreformatted()
      A preformatted text paragraph.
    • PageBlockPreformatted

      public PageBlockPreformatted​(TdApi.RichText text, String language)
      A preformatted text paragraph.
      Parameters:
      text - RichText Paragraph text.
      language - String Programming language for which the text needs to be formatted.
    • PageBlockPreformatted

      public PageBlockPreformatted​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details