2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Implement multiboost reassign box.

This commit is contained in:
John Preston
2023-11-08 13:31:01 +04:00
parent a41bbd27c8
commit c5d1739e95
18 changed files with 844 additions and 213 deletions

View File

@@ -318,14 +318,9 @@ private:
void applyBoost(
not_null<ChannelData*> channel,
Fn<void(Ui::BoostCounters)> done);
void replaceBoostConfirm(
not_null<PeerData*> from,
void applyBoostsChecked(
not_null<ChannelData*> channel,
int slot,
Fn<void(Ui::BoostCounters)> done);
void applyBoostChecked(
not_null<ChannelData*> channel,
int slot,
std::vector<int> slots,
Fn<void(Ui::BoostCounters)> done);
const not_null<Main::Session*> _session;
@@ -755,7 +750,4 @@ void ActivateWindow(not_null<SessionController*> controller);
not_null<SessionController*> controller,
GifPauseReason level);
[[nodiscard]] Ui::BoostCounters ParseBoostCounters(
const MTPpremium_BoostsStatus &status);
} // namespace Window