Files
tdesktop/Telegram/SourceFiles/ui/text/format_song_document_name.h
2025-12-13 13:35:56 +04:00

27 lines
639 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
#include "ui/text/format_song_name.h"
class DocumentData;
namespace Ui::Text {
[[nodiscard]] FormatSongName FormatSongNameFor(
not_null<DocumentData*> document);
[[nodiscard]] TextWithEntities FormatDownloadsName(
not_null<DocumentData*> document);
[[nodiscard]] FormatSongName FormatVoiceName(
not_null<DocumentData*> document,
FullMsgId contextId);
} // namespace Ui::Text