Sha256: f928c98e45685fb8a674524048bf2b4d3f2a1e04a89d2092a133f53459e1b80d
Contents?: true
Size: 866 Bytes
Versions: 2
Compression:
Stored size: 866 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 [TD::Types::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::Coercible::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 & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/background.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/background.rb |