Sha256: 62653cce19c36f36ae06888997a7456c93d9a8435f44ac010935da105d6b2c98

Contents?: true

Size: 562 Bytes

Versions: 5

Compression:

Stored size: 562 Bytes

Contents

module TD::Types
  # A table.
  #
  # @attr caption [TD::Types::RichText] Table caption.
  # @attr cells [Array<Array<TD::Types::PageBlockTableCell>>] Table cells.
  # @attr is_bordered [Boolean] True, if the table is bordered.
  # @attr is_striped [Boolean] True, if the table is striped.
  class PageBlock::Table < PageBlock
    attribute :caption, TD::Types::RichText
    attribute :cells, TD::Types::Array.of(TD::Types::Array.of(TD::Types::PageBlockTableCell))
    attribute :is_bordered, TD::Types::Bool
    attribute :is_striped, TD::Types::Bool
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/page_block/table.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/page_block/table.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/page_block/table.rb
tdlib-ruby-2.2.0 lib/tdlib/types/page_block/table.rb
tdlib-ruby-2.1.0 lib/tdlib/types/page_block/table.rb