wallPaper
Represents a wallpaper based on an image.
type tg.WallPaper struct { /* ... */ }
Implements WallPaper.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
ID | int64 | yes | Identifier |
Creator | bool | — | Whether we created this wallpaper |
Default | bool | — | Whether this is the default wallpaper |
Pattern | bool | — | Whether this is a pattern wallpaper » |
Dark | bool | — | Whether this wallpaper should be used in dark mode. |
AccessHash | int64 | yes | Access hash |
Slug | string | yes | Unique wallpaper ID, used when generating wallpaper links or importing wallpaper links. |
Document | DocumentClass | yes | The actual wallpaper |
Settings | WallPaperSettings | — | Info on how to generate the wallpaper, according to these instructions ». |
References
- Official documentation
- Generated Go reference
- TL definition:
wallPaper#a437c3ed