Sha256: 499fe74f23e6776a87934fbeab5d507d4b434be6ecc1c211e0a1e9a58220f7e8
Contents?: true
Size: 843 Bytes
Versions: 1
Compression:
Stored size: 843 Bytes
Contents
module TD::Types # Describes a chat background. # # @attr id [Integer] Unique background identifier. # @attr is_default [Boolean] True, if this is one of default backgrounds. # @attr is_dark [Boolean] True, if the background is dark and is recommended to be used with dark theme. # @attr name [String] Unique background name. # @attr document [TD::Types::Document, nil] Document with the background; may be null. # Null only for solid backgrounds. # @attr type [TD::Types::BackgroundType] Type of the background. class Background < Base attribute :id, TD::Types::Integer attribute :is_default, TD::Types::Bool attribute :is_dark, TD::Types::Bool attribute :name, TD::Types::String attribute :document, TD::Types::Document.optional.default(nil) attribute :type, TD::Types::BackgroundType end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-ruby-2.1.0 | lib/tdlib/types/background.rb |