Sha256: 37f2356687c378923422476481e08289a111db30c952cdf718cede369829cff5
Contents?: true
Size: 1015 Bytes
Versions: 3
Compression:
Stored size: 1015 Bytes
Contents
module TD::Types # An embedded web page. # # @attr url [String, nil] Web page URL, if available. # @attr html [String] HTML-markup of the embedded page. # @attr poster_photo [TD::Types::Photo, nil] Poster photo, if available; may be null. # @attr width [Integer] Block width; 0 if unknown. # @attr height [Integer] Block height; 0 if unknown. # @attr caption [TD::Types::PageBlockCaption] Block caption. # @attr is_full_width [Boolean] True, if the block should be full width. # @attr allow_scrolling [Boolean] True, if scrolling should be allowed. class PageBlock::Embedded < PageBlock attribute :url, TD::Types::String.optional.default(nil) attribute :html, TD::Types::String attribute :poster_photo, TD::Types::Photo.optional.default(nil) attribute :width, TD::Types::Integer attribute :height, TD::Types::Integer attribute :caption, TD::Types::PageBlockCaption attribute :is_full_width, TD::Types::Bool attribute :allow_scrolling, TD::Types::Bool end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.1 | lib/tdlib/types/page_block/embedded.rb |
tdlib-ruby-2.2.0 | lib/tdlib/types/page_block/embedded.rb |
tdlib-ruby-2.1.0 | lib/tdlib/types/page_block/embedded.rb |