Sha256: 58773aad430d4c5bbc8fde17c2c633f6839f260e6e63dfd32c3e2fc68a78e146

Contents?: true

Size: 947 Bytes

Versions: 2

Compression:

Stored size: 947 Bytes

Contents

module TD::Types
  # Represents a cell of a table.
  #
  # @attr text [TD::Types::RichText, nil] Cell text; may be null.
  #   If the text is null, then the cell should be invisible.
  # @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.optional.default(nil)
    attribute :is_header, TD::Types::Bool
    attribute :colspan, TD::Types::Coercible::Integer
    attribute :rowspan, TD::Types::Coercible::Integer
    attribute :align, TD::Types::PageBlockHorizontalAlignment
    attribute :valign, TD::Types::PageBlockVerticalAlignment
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/page_block_table_cell.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/page_block_table_cell.rb