Link Search Menu Expand Document

danog\MadelineProto\EventHandler\Wallpaper

Back to index

Author: Daniil Gentili daniil@daniil.it

Represents a wallpaper.

Properties

  • $id: int Identifier
  • $accessHash: int Access hash
  • $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.
  • $uniqueId: string Unique wallpaper ID, used when generating wallpaper links or importing wallpaper links.
  • $media: \DocumentPhoto The actual wallpaper
  • $settings: mixed Info on how to generate the wallpaper, according to these instructions.

Method list:

Methods:

__construct(\danog\MadelineProto\MTProto $API, array $rawWallpaper)

Parameters:

  • $API: \danog\MadelineProto\MTProto
  • $rawWallpaper: array

See also:

  • \danog\MadelineProto\MTProto

Generated by danog/phpdoc