diff --git a/src/handlers/searchInlineQueryHandler.ts b/src/handlers/searchInlineQueryHandler.ts index 1bf5c6c..78a9c7e 100644 --- a/src/handlers/searchInlineQueryHandler.ts +++ b/src/handlers/searchInlineQueryHandler.ts @@ -47,7 +47,7 @@ async function inlineQueryResultHandler( const waitingMsgId = await bot.telegram .sendMessage(chatId, "Fetching attachments.. Please wait..") .then((msg) => msg.message_id); - const announcements = await fetchAnnouncements(0, 10, query); + const announcements = await fetchAnnouncements(0, 20, query); const chosenAnnouncement = announcements.find( (announcement) => announcement.id === Number(id), );