Sha256: 090f60c58a3a8a4acb81e8da547f55f58e4a563b0eb988dc5bbd71832b5fde78

Contents?: true

Size: 449 Bytes

Versions: 3

Compression:

Stored size: 449 Bytes

Contents

module TD::Types
  # A photo.
  #
  # @attr photo [TD::Types::Photo, nil] Photo file; may be null.
  # @attr caption [TD::Types::PageBlockCaption] Photo caption.
  # @attr url [TD::Types::String] URL that needs to be opened when the photo is clicked.
  class PageBlock::Photo < PageBlock
    attribute :photo, TD::Types::Photo.optional.default(nil)
    attribute :caption, TD::Types::PageBlockCaption
    attribute :url, TD::Types::String
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/page_block/photo.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/page_block/photo.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/page_block/photo.rb