Sha256: 80900b06a38af67dc11e34b2390df1a69689cbea398688c226e6df8151e1448c

Contents?: true

Size: 554 Bytes

Versions: 1

Compression:

Stored size: 554 Bytes

Contents

module TD::Types
  # Describes a block of an instant view web page.
  class PageBlock < Base
    %w[
      title
      subtitle
      author_date
      header
      subheader
      paragraph
      preformatted
      footer
      divider
      anchor
      list
      block_quote
      pull_quote
      animation
      audio
      photo
      video
      cover
      embedded
      embedded_post
      collage
      slideshow
      chat_link
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/page_block/#{type}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-ruby-2.0.0 lib/tdlib/types/page_block.rb