Sha256: 0426fb7d3b18face670076a6f3408ca98de416cbb043b137294ecc5ac7141389
Contents?: true
Size: 819 Bytes
Versions: 2
Compression:
Stored size: 819 Bytes
Contents
module TD::Types # An embedded post. # # @attr url [TD::Types::String] Web page URL. # @attr author [TD::Types::String] Post author. # @attr author_photo [TD::Types::Photo, nil] Post author photo; may be null. # @attr date [Integer] Point in time (Unix timestamp) when the post was created; 0 if unknown. # @attr page_blocks [Array<TD::Types::PageBlock>] Post content. # @attr caption [TD::Types::PageBlockCaption] Post caption. class PageBlock::EmbeddedPost < PageBlock attribute :url, TD::Types::String attribute :author, TD::Types::String attribute :author_photo, TD::Types::Photo.optional.default(nil) attribute :date, TD::Types::Coercible::Integer attribute :page_blocks, TD::Types::Array.of(TD::Types::PageBlock) attribute :caption, TD::Types::PageBlockCaption end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/page_block/embedded_post.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/page_block/embedded_post.rb |