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:



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

def align
  @align
end

#colspanInteger

The number of columns the cell should span.

Returns:

  • (Integer)

    the current value of colspan



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

def colspan
  @colspan
end

#is_headerBoolean

True, if it is a header cell.

Returns:

  • (Boolean)

    the current value of is_header



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

def is_header
  @is_header
end

#rowspanInteger

The number of rows the cell should span.

Returns:

  • (Integer)

    the current value of rowspan



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

def rowspan
  @rowspan
end

#textTD::Types::RichText?

Cell text; may be null. If the text is null, then the cell should be invisible.

Returns:



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

def text
  @text
end

#valignTD::Types::PageBlockVerticalAlignment

Vertical cell content alignment.

Returns:



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

def valign
  @valign
end