MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / findBotApp

Method findBotApp

Telegram/SourceFiles/data/data_session.cpp:4473–4480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4471}
4472
4473BotAppData *Session::findBotApp(PeerId botId, const QString &appName) const {
4474 for (const auto &[id, app] : _botApps) {
4475 if (app->botId == botId && app->shortName == appName) {
4476 return app.get();
4477 }
4478 }
4479 return nullptr;
4480}
4481
4482BotAppData *Session::processBotApp(
4483 PeerId botId,

Callers 1

resolveAppMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected