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

Method showToast

Telegram/SourceFiles/window/window_controller.cpp:428–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428void Controller::showToast(Ui::Toast::Config &&config) {
429 Show(this).showToast(std::move(config));
430}
431
432void Controller::showToast(TextWithEntities &&text, crl::time duration) {
433 Show(this).showToast(std::move(text), duration);

Callers 15

prepareMethod · 0.45
addViewDiscussionMethod · 0.45
addTopicLinkMethod · 0.45
addToggleNoForwardsMethod · 0.45
fillArchiveActionsMethod · 0.45
PeerMenuShareContactBoxFunction · 0.45
PeerMenuTodoWantsPremiumFunction · 0.45
PeerMenuAddTodoListTasksFunction · 0.45
PeerMenuBlockUserBoxFunction · 0.45
ToggleHistoryArchivedFunction · 0.45
TogglePinnedThreadFunction · 0.45

Calls 1

ShowClass · 0.70

Tested by

no test coverage detected