ZaStoGram_desktop/Telegram/SourceFiles/window/window_no_paid_token.h
John Preston 289942c69c Accept payment-free links by importing their token.
Task: 2026/10/15/accept-payment-free-links-and-import-their-token
2026-10-20 17:07:53 +04:00

22 lines
474 B
C++

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
class PeerData;
namespace Window {
class SessionNavigation;
void ApplyNoPaidToken(
not_null<SessionNavigation*> navigation,
not_null<PeerData*> peer,
const QString &token,
Fn<void()> open);
} // namespace Window