Method: messages.searchStickers
Parameters:
Name | Type | Required |
---|---|---|
emojis | Bool | Optional |
q | string | Optional |
emoticon | string | Optional |
lang_code | Array of string | Yes |
offset | int | Optional |
limit | int | Optional |
hash | Array of long|string | Optional |
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], );