Sha256: 8dd0e64926680c042e97b6e26e3b26b8b45d2c33bf04075f6f4f72d43c7efd41

Contents?: true

Size: 627 Bytes

Versions: 1

Compression:

Stored size: 627 Bytes

Contents

module TD::Types
  # Contains information about a wallpaper.
  #
  # @attr id [Integer] Unique persistent wallpaper identifier.
  # @attr sizes [Array<TD::Types::PhotoSize>] Available variants of the wallpaper in different sizes.
  #   These photos can only be downloaded; they can't be sent in a message.
  # @attr color [Integer] Main color of the wallpaper in RGB24 format; should be treated as background color if no
  #   photos are specified.
  class Wallpaper < Base
    attribute :id, TD::Types::Integer
    attribute :sizes, TD::Types::Array.of(TD::Types::PhotoSize)
    attribute :color, TD::Types::Integer
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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