MadelineProtoDocs/docs/TD_docs/constructors/wallpaper.md

26 lines
832 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: wallpaper
description: Contains information about one wallpaper
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
2018-04-05 01:19:57 +02:00
# Constructor: wallpaper
2018-04-01 13:19:25 +02:00
[Back to constructors index](index.md)
Contains information about one wallpaper
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[int](../types/int.md) | Yes|Unique persistent wallpaper identifier|
|sizes|Array of [photoSize](../constructors/photoSize.md) | Yes|Available variants of wallpaper of different sizes. These photos can be only downloaded and can't be sent in a message|
|color|[int](../types/int.md) | Yes|Main color of wallpaper in RGB24, should be treated as background color if no photos are specified|
### Type: [Wallpaper](../types/Wallpaper.md)