View Source ExTDLib.Method.SetBackground (ExTDLib v0.0.4)
Changes the background selected by the user; adds background to the list of installed backgrounds. Returns object_ptr<Background>.
| Name | Type | Description |
|---|---|---|
| background | InputBackground | The input background to use; pass null to create a new filled background or to remove the current background. |
| type | BackgroundType | Background type; pass null to use the default type of the remote background or to remove the current background. |
| for_dark_theme | bool | Pass true if the background is changed for a dark theme. |
More details on telegram's documentation.