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

Function ShowChannelsLimitBox

Telegram/SourceFiles/apiwrap.cpp:133–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void ShowChannelsLimitBox(not_null<PeerData*> peer) {
134 if (const auto window = Core::App().windowFor(peer)) {
135 window->invokeForSessionController(
136 &peer->session().account(),
137 peer,
138 [&](not_null<Window::SessionController*> controller) {
139 controller->show(Box(ChannelsLimitBox, &peer->session()));
140 });
141 }
142}
143
144[[nodiscard]] FileLoadTo FileLoadTaskOptions(const Api::SendAction &action) {
145 const auto peer = action.history->peer;

Callers 2

migrateFailMethod · 0.85
joinChannelMethod · 0.85

Calls 6

AppClass · 0.85
windowForMethod · 0.80
BoxClass · 0.50
sessionMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected