Sha256: 26670cfc5a4fe724d7164b5ba0a9e521ac7d730fbe0669134e03d47b955f9ae0
Contents?: true
Size: 971 Bytes
Versions: 1
Compression:
Stored size: 971 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. # @attr height [Integer] Block height. # @attr caption [TD::Types::RichText] 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::RichText attribute :is_full_width, TD::Types::Bool attribute :allow_scrolling, TD::Types::Bool end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-ruby-2.0.0 | lib/tdlib/types/page_block/embedded.rb |