diff --git a/src/lib/wapi/functions/send-sticker.js b/src/lib/wapi/functions/send-sticker.js index df1249a72..bd8e52be1 100644 --- a/src/lib/wapi/functions/send-sticker.js +++ b/src/lib/wapi/functions/send-sticker.js @@ -57,7 +57,7 @@ export async function sendSticker(sticker, chatId, metadata, type) { if (chat.erro === false || chat.__x_id) { var ListChat = await Store.Chat.get(chatId), - stick = new window.Store.Sticker.modelClass(); + stick = new window.Store.StickerPack.modelClass(); stick.__x_clientUrl = sticker.clientUrl; stick.__x_filehash = sticker.filehash;