HTTP 404 · Not Found
HTTP 404 Media / Files

When & why it happens

No wallpaper matching the request exists on the server (already deleted, wrong id, or not yet propagated).

Handling in gogram

Surfaced as *gogram.ErrResponseCode. Match on the message:

if err, ok := err.(*gogram.ErrResponseCode); ok { if err.Message == "WALLPAPER_NOT_FOUND" { // handle this error } }