/* 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 HistoryItem; namespace style { struct FlatLabel; } // namespace style namespace Main { class Session; } // namespace Main namespace Payments { struct CreditsFormData; } // namespace Payments namespace Ui { class RpWidget; class GenericBox; class FlatLabel; void SendCreditsBox( not_null box, std::shared_ptr data, Fn sent); [[nodiscard]] TextWithEntities CreditsEmoji( not_null session); [[nodiscard]] TextWithEntities CreditsEmojiSmall( not_null session); not_null SetButtonMarkedLabel( not_null button, rpl::producer text, Fn update)> context, const style::FlatLabel &st, std::optional textFg = {}); not_null SetButtonMarkedLabel( not_null button, rpl::producer text, not_null session, const style::FlatLabel &st, std::optional textFg = {}); void SendStarGift( not_null session, std::shared_ptr data, Fn)> done); } // namespace Ui