Sha256: d9cd87fc0d1b23638db9937c7746e881718d4c447a4b741556e982bf7365635b

Contents?: true

Size: 438 Bytes

Versions: 3

Compression:

Stored size: 438 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 [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 & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/page_block/photo.rb
tdlib-ruby-2.2.0 lib/tdlib/types/page_block/photo.rb
tdlib-ruby-2.1.0 lib/tdlib/types/page_block/photo.rb