Module tdlight.api

Class TdApi.PageBlockPreformatted

Enclosing class:
TdApi

public static final 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:
  • 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
      A preformatted text paragraph.
      Throws:
      IOException
  • Method Details