InputBackground
public indirect enum InputBackground : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Contains information about background to set
-
A background from a local file
- background: Background file to use. Only inputFileLocal and inputFileGenerated are supported. The file must be in JPEG format for wallpapers and in PNG format for patterns
Declaration
Swift
case local(background: InputFile)
-
A background from the server
- backgroundId: The background identifier
Declaration
Swift
case remote(backgroundId: TDInt64)