Sha256: 8baf17fb5bd045ede68f2b7c9ce4e4993558d2b061282df9dd2379fe8da8ceca

Contents?: true

Size: 306 Bytes

Versions: 1

Compression:

Stored size: 306 Bytes

Contents

module TD::Types
  # A photo.
  #
  # @attr photo [TD::Types::Photo, nil] Photo file; may be null.
  # @attr caption [TD::Types::RichText] Photo caption.
  class PageBlock::Photo < PageBlock
    attribute :photo, TD::Types::Photo.optional.default(nil)
    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/photo.rb