Sha256: 8a69f1a156edb8ef277d3acfd65673ddd8df676c969080229052ee254013333d

Contents?: true

Size: 823 Bytes

Versions: 1

Compression:

Stored size: 823 Bytes

Contents

module TD::Types
  # Represents a cell of a table.
  #
  # @attr text [TD::Types::RichText] Cell text.
  # @attr is_header [Boolean] True, if it is a header cell.
  # @attr colspan [Integer] The number of columns the cell should span.
  # @attr rowspan [Integer] The number of rows the cell should span.
  # @attr align [TD::Types::PageBlockHorizontalAlignment] Horizontal cell content alignment.
  # @attr valign [TD::Types::PageBlockVerticalAlignment] Vertical cell content alignment.
  class PageBlockTableCell < Base
    attribute :text, TD::Types::RichText
    attribute :is_header, TD::Types::Bool
    attribute :colspan, TD::Types::Integer
    attribute :rowspan, TD::Types::Integer
    attribute :align, TD::Types::PageBlockHorizontalAlignment
    attribute :valign, TD::Types::PageBlockVerticalAlignment
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-ruby-2.1.0 lib/tdlib/types/page_block_table_cell.rb