Method: stickers.changeSticker
Back to methods index
Update the keywords, emojis or
mask coordinates
of a sticker, bots only.
Parameters:
Can bots use this method:
YES
if
(
!
file_exists
(
'madeline.php'
))
{
copy
(
'https://phar.madelineproto.xyz/madeline.php'
,
'madeline.php'
);
}
include
'madeline.php'
;
$MadelineProto
=
new
\danog\MadelineProto\API
(
'session.madeline'
);
$MadelineProto
->
start
();
$messages_StickerSet
=
$MadelineProto
->
stickers
->
changeSticker
(
sticker
:
$InputDocument
,
emoji
:
'string'
,
mask_coords
:
$MaskCoords
,
keywords
:
'string'
,
);