SetBackground class

Changes the background selected by the user; adds background to the list of installed backgrounds.

Returns Background.

Inheritance
Available Extensions

Constructors

SetBackground({InputBackground? background, BackgroundType? type, required bool for_dark_theme, int? extra, int? clientId})
Changes the background selected by the user; adds background to the list of installed backgrounds

Properties

background ↔ InputBackground?
The input background to use; pass null to create a new filled background or to remove the current background.
read / write
clientId ↔ int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra ↔ int?
Request identifier. Must be non-zero.
read / writeoverride
for_dark_theme ↔ bool
Pass true if the background is changed for a dark theme.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
type ↔ BackgroundType?
Background type; pass null to use the default type of the remote background or to remove the current background.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Object to Map serializer
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) → SetBackground?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"setBackground"