Class TdApi.PageBlockPreformatted

  • Enclosing class:
    TdApi

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

      • language

        public java.lang.String language
        Programming language for which the text should be formatted.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PageBlockPreformatted

        public PageBlockPreformatted()
        Default constructor.
      • PageBlockPreformatted

        public PageBlockPreformatted​(TdApi.RichText text,
                                     java.lang.String language)
        Constructor for initialization of all fields.
        Parameters:
        text - Paragraph text.
        language - Programming language for which the text should be formatted.