Sha256: 637551051932d693bad0548b021ece653277d7eb710ee6a4695482cd3ae56f7b

Contents?: true

Size: 730 Bytes

Versions: 1

Compression:

Stored size: 730 Bytes

Contents

module TD::Types
  # An embedded post.
  #
  # @attr url [String] Web page URL.
  # @attr author [String] Post author.
  # @attr author_photo [TD::Types::Photo] Post author photo.
  # @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::RichText] Post caption.
  class PageBlock::EmbeddedPost < PageBlock
    attribute :url, TD::Types::String
    attribute :author, TD::Types::String
    attribute :author_photo, TD::Types::Photo
    attribute :date, TD::Types::Integer
    attribute :page_blocks, TD::Types::Array.of(TD::Types::PageBlock)
    attribute :caption, TD::Types::RichText
  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_post.rb