Class: TD::Types::PageBlock::Details
- Inherits:
-
TD::Types::PageBlock
- Object
- Dry::Struct
- Base
- TD::Types::PageBlock
- TD::Types::PageBlock::Details
- Defined in:
- lib/tdlib/types/page_block/details.rb
Overview
A collapsible block.
Instance Attribute Summary collapse
-
#header ⇒ TD::Types::RichText
Always visible heading for the block.
-
#is_open ⇒ Boolean
True, if the block is open by default.
-
#page_blocks ⇒ Array<TD::Types::PageBlock>
Block contents.
Method Summary
Methods inherited from Base
Instance Attribute Details
#header ⇒ TD::Types::RichText
Always visible heading for the block.
7 8 9 |
# File 'lib/tdlib/types/page_block/details.rb', line 7 def header @header end |
#is_open ⇒ Boolean
True, if the block is open by default.
7 8 9 |
# File 'lib/tdlib/types/page_block/details.rb', line 7 def is_open @is_open end |
#page_blocks ⇒ Array<TD::Types::PageBlock>
Block contents.
7 8 9 |
# File 'lib/tdlib/types/page_block/details.rb', line 7 def page_blocks @page_blocks end |