Store recent inline bot per-account.

This commit is contained in:
John Preston
2026-05-07 16:52:52 +04:00
parent 1c7e7fee7b
commit 4a9f584d48
16 changed files with 146 additions and 83 deletions
@@ -35,6 +35,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "data/components/location_pickers.h"
#include "data/components/passkeys.h"
#include "data/components/promo_suggestions.h"
#include "data/components/recent_inline_bots.h"
#include "data/components/recent_peers.h"
#include "data/components/recent_shared_media_gifts.h"
#include "data/components/scheduled_messages.h"
@@ -125,6 +126,7 @@ Session::Session(
, _topGuestChatBots(std::make_unique<Data::TopPeers>(
this,
Data::TopPeerType::BotGuestChat))
, _recentInlineBots(std::make_unique<Data::RecentInlineBots>(this))
, _factchecks(std::make_unique<Data::Factchecks>(this))
, _locationPickers(std::make_unique<Data::LocationPickers>())
, _credits(std::make_unique<Data::Credits>(this))