Sha256: 7e0c0159e84d094c2f326386daf792d04aeaa34bee97950cab8da400c303b6f4

Contents?: true

Size: 643 Bytes

Versions: 4

Compression:

Stored size: 643 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 2 rubygems

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