Skip to content

Commit

Permalink
wallpaper update
Browse files Browse the repository at this point in the history
  • Loading branch information
sdfsdhgjkbmnmxc committed Jan 26, 2021
1 parent 54865f4 commit 506c82c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion features.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ type Features struct {
AllowAdminMute bool `json:"allow_admin_mute,omitempty"`

// Default wallpaper url for mobile apps, if any
DefaultWallpaper string `json:"default_wallpaper,omitempty"`
DefaultWallpaper *Wallpaper `json:"default_wallpaper,omitempty"`

// Deprecated
TaskChecklist bool `json:"task_checklist"`
Expand Down
3 changes: 3 additions & 0 deletions wallpaper.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ package tdproto

// Chat wallpaper
type Wallpaper struct {
// Unique identifier
Key string `json:"key"`

// Localized description
Name string `json:"name"`

Expand Down

0 comments on commit 506c82c

Please sign in to comment.