Class: TD::Types::PageBlock::Preformatted
- Inherits:
-
TD::Types::PageBlock
- Object
- Dry::Struct
- Base
- TD::Types::PageBlock
- TD::Types::PageBlock::Preformatted
- Defined in:
- lib/tdlib/types/page_block/preformatted.rb
Overview
A preformatted text paragraph.
Instance Attribute Summary collapse
-
#language ⇒ String
Programming language for which the text should be formatted.
-
#text ⇒ TD::Types::RichText
Paragraph text.
Method Summary
Methods inherited from Base
Instance Attribute Details
#language ⇒ String
Programming language for which the text should be formatted.
6 7 8 |
# File 'lib/tdlib/types/page_block/preformatted.rb', line 6 def language @language end |
#text ⇒ TD::Types::RichText
Paragraph text.
6 7 8 |
# File 'lib/tdlib/types/page_block/preformatted.rb', line 6 def text @text end |