wallPaperSettings #

Wallpaper rendering information.

Layer 223

wallPaperSettings#372efcd0 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int second_background_color:flags.4?int third_background_color:flags.5?int fourth_background_color:flags.6?int intensity:flags.3?int rotation:flags.4?int emoticon:flags.7?string = WallPaperSettings;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
blurflags.1?trueFor image wallpapers »: if set, the JPEG must be downscaled to fit in 450x450 square and then box-blurred with radius 12.
motionflags.2?trueIf set, the background needs to be slightly moved when the device is rotated.
background_colorflags.0?intUsed for solid », gradient » and freeform gradient » fills.
second_background_colorflags.4?intUsed for gradient » and freeform gradient » fills.
third_background_colorflags.5?intUsed for freeform gradient » fills.
fourth_background_colorflags.6?intUsed for freeform gradient » fills.
intensityflags.3?intUsed for pattern wallpapers ».
rotationflags.4?intClockwise rotation angle of the gradient, in degrees; 0-359. Should be always divisible by 45.
emoticonflags.7?stringIf set, this wallpaper can be used as a channel wallpaper and is represented by the specified UTF-8 emoji.

Type #

WallPaperSettings

Chat wallpapers #

Telegram apps support generating, sharing and synchronizing chat backgrounds.