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

Function ShowStickerSet

Telegram/SourceFiles/core/local_url_handlers.cpp:267–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267bool ShowStickerSet(
268 Window::SessionController *controller,
269 const Match &match,
270 const QVariant &context) {
271 if (!controller) {
272 return false;
273 }
274 Core::App().hideMediaView();
275 controller->show(Box<StickerSetBox>(
276 controller->uiShow(),
277 StickerSetIdentifier{ .shortName = match->captured(2) },
278 (match->captured(1) == "addemoji"
279 ? Data::StickersType::Emoji
280 : Data::StickersType::Stickers)));
281 controller->window().activate();
282 return true;
283}
284
285bool ShowTheme(
286 Window::SessionController *controller,

Callers

nothing calls this directly

Calls 6

AppClass · 0.85
hideMediaViewMethod · 0.80
showMethod · 0.45
uiShowMethod · 0.45
activateMethod · 0.45
windowMethod · 0.45

Tested by

no test coverage detected