SetBackground
public struct SetBackground : Codable, Equatable, TDFunction
Changes the background selected by the user; adds background to the list of installed backgrounds
-
Undocumented
Declaration
Swift
public typealias Result = Background -
The input background to use, null for filled backgrounds
Declaration
Swift
public let background: InputBackground -
Background type; null for default background. The method will return error 404 if type is null
Declaration
Swift
public let type: BackgroundType -
True, if the background is chosen for dark theme
Declaration
Swift
public let forDarkTheme: Bool -
Changes the background selected by the user; adds background to the list of installed backgrounds
Declaration
Swift
public init(background: InputBackground, type: BackgroundType, forDarkTheme: Bool)Parameters
backgroundThe input background to use, null for filled backgrounds
typeBackground type; null for default background. The method will return error 404 if type is null
forDarkThemeTrue, if the background is chosen for dark theme
View on GitHub
Install in Dash
SetBackground Structure Reference