Sha256: 21c2eb161a0eaf7de08d14184937b555a69de830eb159a7a61f1b8418834f502

Contents?: true

Size: 626 Bytes

Versions: 1

Compression:

Stored size: 626 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
      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

1 entries across 1 versions & 1 rubygems

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