SetChatBackground class
Changes the background in a specific chat. Supported only in private and secret chats with non-deleted users.
Returns Ok.
- Inheritance
- Available Extensions
Constructors
- SetChatBackground({required int chat_id, InputBackground? background, BackgroundType? type, required int dark_theme_dimming, int? extra, int? clientId})
- Changes the background in a specific chat. Supported only in private and secret chats with non-deleted users
Properties
- background ↔ InputBackground?
-
The input background to use; pass null to create a new filled background or to remove the current background.
read / write
- chat_id ↔ int
-
Chat identifier.
read / write
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- dark_theme_dimming ↔ int
-
Dimming of the background in dark themes, as a percentage; 0-100.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- 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 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) → SetChatBackground? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"setChatBackground"