Sha256: cf1f91ef2f652f6ceb9699a0016384413befbb8248e3fc9f9ba89858d6c61014

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

module TD::Types
  # Describes a photo.
  #
  # @attr id [Integer] Photo identifier; 0 for deleted photos.
  # @attr has_stickers [Boolean] True, if stickers were added to the photo.
  # @attr sizes [Array<TD::Types::PhotoSize>] Available variants of the photo, in different sizes.
  class Photo < Base
    attribute :id, TD::Types::Integer
    attribute :has_stickers, TD::Types::Bool
    attribute :sizes, TD::Types::Array.of(TD::Types::PhotoSize)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-ruby-2.0.0 lib/tdlib/types/photo.rb