Class: TD::Types::PageBlock::Table

Inherits:
TD::Types::PageBlock show all
Defined in:
lib/tdlib/types/page_block/table.rb

Overview

A table.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#captionTD::Types::RichText

Table caption.

Returns:



8
9
10
# File 'lib/tdlib/types/page_block/table.rb', line 8

def caption
  @caption
end

#cellsArray<Array<TD::Types::PageBlockTableCell>>

Table cells.

Returns:



8
9
10
# File 'lib/tdlib/types/page_block/table.rb', line 8

def cells
  @cells
end

#is_borderedBoolean

True, if the table is bordered.

Returns:

  • (Boolean)

    the current value of is_bordered



8
9
10
# File 'lib/tdlib/types/page_block/table.rb', line 8

def is_bordered
  @is_bordered
end

#is_stripedBoolean

True, if the table is striped.

Returns:

  • (Boolean)

    the current value of is_striped



8
9
10
# File 'lib/tdlib/types/page_block/table.rb', line 8

def is_striped
  @is_striped
end