Link Search Menu Expand Document

Method: messages.searchStickers

Back to methods index

Parameters:

NameTypeRequired
emojisBoolOptional
qstringOptional
emoticonstringOptional
lang_codeArray of stringYes
offsetintOptional
limitintOptional
hashArray of long|stringOptional

Return type: messages.FoundStickers

Can userbots use this method: YES

Can bots use this method: YES

MadelineProto Example (now async for huge speed and parallelism!):

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_FoundStickers = $MadelineProto->messages->searchStickers(emojis: $Bool, q: 'string', emoticon: 'string', lang_code: ['string', 'string'], offset: $int, limit: $int, hash: [$long\|string, $long\|string], );