mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-11 12:48:25 +01:00
30 lines
610 B
PHP
30 lines
610 B
PHP
|
<?php declare(strict_types=1);
|
||
|
|
||
|
namespace danog\MadelineProto\EventHandler\Media;
|
||
|
|
||
|
use danog\MadelineProto\MTProto;
|
||
|
|
||
|
/**
|
||
|
* Represents a static sticker.
|
||
|
*/
|
||
|
final class StaticSticker extends Sticker
|
||
|
{
|
||
|
/** @internal */
|
||
|
public function __construct(
|
||
|
MTProto $API,
|
||
|
array $rawMedia,
|
||
|
array $stickerAttribute,
|
||
|
array $photoAttribute,
|
||
|
bool $protected,
|
||
|
) {
|
||
|
parent::__construct(
|
||
|
$API,
|
||
|
$rawMedia,
|
||
|
$stickerAttribute,
|
||
|
$photoAttribute['w'],
|
||
|
$photoAttribute['h'],
|
||
|
$protected
|
||
|
);
|
||
|
}
|
||
|
}
|