26 lines
1.2 KiB
TypeScript
26 lines
1.2 KiB
TypeScript
// Module ID: 9849
|
|
// Function ID: 9850
|
|
// Name: searchAllStickers
|
|
// Dependencies: [5111, 5846, 2]
|
|
// Exports: searchAllStickers, searchSendableStickers, searchUnsendableStickers
|
|
|
|
// Module 9849 (searchAllStickers)
|
|
const result = require("set").fileFinishedImporting("modules/stickers/StickersSearchUtils.tsx");
|
|
|
|
export const searchAllStickers = function searchAllStickers(arg0) {
|
|
const items = [arg0];
|
|
const obj = importDefault(5111);
|
|
return importDefault(5111).queryStickers(items, true).map((sticker) => sticker.sticker);
|
|
};
|
|
export const searchSendableStickers = function searchSendableStickers(arg0, arg1) {
|
|
const items = [arg0];
|
|
const items1 = [arg1, (arg0, arg1) => arg1 === callback(table[1]).StickerSendability.SENDABLE];
|
|
const obj = importDefault(5111);
|
|
return importDefault(5111).queryStickers(items, true, items1).map((sticker) => sticker.sticker);
|
|
};
|
|
export const searchUnsendableStickers = function searchUnsendableStickers(arg0, arg1) {
|
|
const items = [arg0];
|
|
const items1 = [arg1, (arg0, arg1) => arg1 !== callback(table[1]).StickerSendability.SENDABLE];
|
|
const obj = importDefault(5111);
|
|
return importDefault(5111).queryStickers(items, true, items1).map((sticker) => sticker.sticker);
|
|
};
|