Sha256: 30834c704d89c4a665e06a34fd6db4ebfe9b0ef1777d227134ac8042aa5e45fd
Contents?: true
Size: 617 Bytes
Versions: 4
Compression:
Stored size: 617 Bytes
Contents
module TD::Types # Describes a photo. # # @attr has_stickers [Boolean] True, if stickers were added to the photo. # The list of corresponding sticker sets can be received using getAttachedStickerSets. # @attr minithumbnail [TD::Types::Minithumbnail, nil] Photo minithumbnail; may be null. # @attr sizes [Array<TD::Types::PhotoSize>] Available variants of the photo, in different sizes. class Photo < Base attribute :has_stickers, TD::Types::Bool attribute :minithumbnail, TD::Types::Minithumbnail.optional.default(nil) attribute :sizes, TD::Types::Array.of(TD::Types::PhotoSize) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.4 | lib/tdlib/types/photo.rb |
tdlib-schema-1.7.0.3 | lib/tdlib/types/photo.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/photo.rb |
tdlib-schema-1.7.0.1 | lib/tdlib/types/photo.rb |