* Removes a sticker from the list of recently used stickers.
13
*/
14
class RemoveRecentSticker extends TdFunction
15
{
16
public const TYPE_NAME = 'removeRecentSticker';
17
18
/**
19
* Pass true to remove the sticker from the list of stickers recently attached to photo or video files; pass false to remove the sticker from the list of recently sent stickers.
20
*/
21
protected bool $isAttached;
22
23
/**
24
* Sticker file to delete.
25
*/
26
protected InputFile $sticker;
27
28
public function __construct(bool $isAttached, InputFile $sticker)
29
{
30
$this->isAttached = $isAttached;
31
$this->sticker = $sticker;
32
}
33
34
public static function fromArray(array $array): RemoveRecentSticker