Sha256: cf442879285f7cd8d144ee3e33f64912ce356802b87019960b6f0e5005c528af
Contents?: true
Size: 844 Bytes
Versions: 2
Compression:
Stored size: 844 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 filled 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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.1 | lib/tdlib/types/background.rb |
tdlib-ruby-2.2.0 | lib/tdlib/types/background.rb |