1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-11 12:48:25 +01:00
MadelineProto/src/EventHandler/Media/StaticSticker.php

30 lines
610 B
PHP
Raw Normal View History

<?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
);
}
}