Class: TD::Types::PageBlockTableCell

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/page_block_table_cell.rb

Overview

Represents a cell of a table.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#alignTD::Types::PageBlockHorizontalAlignment

Horizontal cell content alignment.

Returns:



10
11
12
# File 'lib/tdlib/types/page_block_table_cell.rb', line 10

def align
  @align
end

#colspanInteger

The number of columns the cell should span.

Returns:

  • (Integer)

    the current value of colspan



10
11
12
# File 'lib/tdlib/types/page_block_table_cell.rb', line 10

def colspan
  @colspan
end

#is_headerBoolean

True, if it is a header cell.

Returns:

  • (Boolean)

    the current value of is_header



10
11
12
# File 'lib/tdlib/types/page_block_table_cell.rb', line 10

def is_header
  @is_header
end

#rowspanInteger

The number of rows the cell should span.

Returns:

  • (Integer)

    the current value of rowspan



10
11
12
# File 'lib/tdlib/types/page_block_table_cell.rb', line 10

def rowspan
  @rowspan
end

#textTD::Types::RichText

Cell text.

Returns:



10
11
12
# File 'lib/tdlib/types/page_block_table_cell.rb', line 10

def text
  @text
end

#valignTD::Types::PageBlockVerticalAlignment

Vertical cell content alignment.

Returns:



10
11
12
# File 'lib/tdlib/types/page_block_table_cell.rb', line 10

def valign
  @valign
end