2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Added initial api support for credits topup options.

This commit is contained in:
23rd
2024-05-16 19:22:55 +03:00
committed by John Preston
parent b5eb195f43
commit f1636de572
5 changed files with 113 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/*
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
namespace Data {
struct CreditTopupOption final {
uint64 credits = 0;
QString product;
QString currency;
uint64 amount = 0;
};
using CreditTopupOptions = std::vector<CreditTopupOption>;
} // namespace Data