| 12345678910111213141516171819202122232425 |
- /*
- 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
- #include "data/data_channel_earn.h"
- namespace Info::ChannelEarn {
- [[nodiscard]] QString MajorPart(Data::EarnInt value);
- [[nodiscard]] QString MinorPart(Data::EarnInt value);
- [[nodiscard]] QString ToUsd(
- Data::EarnInt value,
- float64 rate,
- int afterFloat);
- [[nodiscard]] QString ToUsd(
- StarsAmount value,
- float64 rate,
- int afterFloat);
- } // namespace Info::ChannelEarn
|